Show bookdrop button on mobile view

This commit is contained in:
aditya.chandel
2025-09-01 11:05:03 -06:00
committed by Aditya Chandel
parent b3fd860783
commit 48c9f1d422
2 changed files with 276 additions and 266 deletions
@@ -1,6 +1,6 @@
<div class="flex flex-col h-[calc(100dvh-6.1rem)] rounded-xl bg-[var(--card-background)] space-y-4"> <div class="overflow-x-auto">
<div class="flex flex-col h-[calc(100dvh-6.1rem)] rounded-xl bg-[var(--card-background)] space-y-4 min-w-[100rem]">
<div class="px-6 pt-6 pb-4 flex flex-col md:flex-row md:items-center md:justify-between"> <div class="px-4 md:px-6 pt-6 pb-4 flex flex-col md:flex-row md:items-center md:justify-between">
<div> <div>
<h2 class="text-xl font-semibold pb-1 flex items-center gap-2"> <h2 class="text-xl font-semibold pb-1 flex items-center gap-2">
Review Bookdrop Files Review Bookdrop Files
@@ -130,7 +130,7 @@
} }
</div> </div>
<div class="flex-1 overflow-y-auto px-6 pt-4 space-y-2 pb-4"> <div class="flex-1 overflow-y-auto px-4 md:px-6 pt-4 space-y-2 pb-4">
@if (bookdropFileUis.length === 0) { @if (bookdropFileUis.length === 0) {
<div class="h-full w-full flex items-center justify-center text-gray-400 italic py-8"> <div class="h-full w-full flex items-center justify-center text-gray-400 italic py-8">
No bookdrop files to review. No bookdrop files to review.
@@ -304,4 +304,5 @@
</div> </div>
} }
</div>
</div> </div>
@@ -162,6 +162,15 @@
Upload Book Upload Book
</button> </button>
</li> </li>
<li>
<button
class="flex items-center gap-2 w-full text-left p-2 hover:bg-surface-200 dark:hover:bg-surface-700 rounded"
(click)="navigateToBookdrop(); mobileMenu.hide()"
>
<i class="pi pi-inbox text-surface-100"></i>
Bookdrop
</button>
</li>
} }
} }
<li> <li>