Show bookdrop button on mobile view
This commit is contained in:
committed by
Aditya Chandel
parent
b3fd860783
commit
48c9f1d422
+5
-4
@@ -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.
|
||||||
@@ -305,3 +305,4 @@
|
|||||||
</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user