fix(catalog,footer): resolve catalog footer white gap, refine mobile footer layout and improve micro-scrollbar contrast
Deploy Canina / deploy (push) Successful in 2m25s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 0s

This commit is contained in:
parsa aghaei committed 2026-09-06 11:56:40 +03:30
1 parent c5d975e0c7
commit 49eb1e5ff3
7 files changed
+686 -659

No files matched your search

@@ -770,12 +770,12 @@ export default function FlipbookCatalog({ products }: FlipbookCatalogProps) {
</div>
{/* ========================================================================= */}
{/* 3. BOTTOM SLIDER & CATEGORY JUMP BAR - Fixed Height */}
{/* 3. BOTTOM SLIDER & CATEGORY JUMP BAR - Responsive & Clean */}
{/* ========================================================================= */}
<div className="max-w-4xl w-full mx-auto h-14 shrink-0 bg-slate-900/95 border border-slate-800 backdrop-blur-xl rounded-2xl px-3 sm:px-4 flex items-center justify-between gap-3 shadow-xl z-30 print:hidden">
<div className="max-w-4xl w-full mx-auto shrink-0 bg-slate-900/95 border border-slate-800 backdrop-blur-xl rounded-2xl p-2.5 sm:px-4 sm:h-14 flex flex-col sm:flex-row items-center justify-between gap-2.5 sm:gap-4 shadow-xl z-30 print:hidden">
{/* Page Slider */}
<div className="flex items-center gap-2.5 flex-1 max-w-xs sm:max-w-sm">
<div className="flex items-center gap-2.5 w-full sm:w-auto sm:flex-1 sm:max-w-sm shrink-0">
<span className="text-[11px] font-black text-amber-300 shrink-0 font-mono">
{currentPage === 1 ? "جلد ۱" : `صفحه ${currentPage}-${Math.min(currentPage + 1, TOTAL_PAGES)}`}
</span>
@@ -795,17 +795,17 @@ export default function FlipbookCatalog({ products }: FlipbookCatalogProps) {
</span>
</div>
{/* Category Jump Pills with Micro Scrollbar */}
<div className="flex items-center gap-1.5 overflow-x-auto max-w-full py-1 micro-hscroll select-none touch-pan-x">
{/* Category Jump Pills with Golden Micro Scrollbar */}
<div className="flex items-center gap-1.5 overflow-x-auto w-full sm:w-auto sm:max-w-full pb-1 pt-0.5 micro-hscroll-dark select-none touch-pan-x">
<button
onClick={() => handleJumpToPage(1)}
className="px-2 py-1 rounded-lg text-[10px] font-black bg-slate-800 text-white hover:bg-slate-700 transition-all shrink-0 cursor-pointer"
className="px-2.5 py-1 rounded-lg text-[10px] font-black bg-slate-800 text-white hover:bg-slate-700 transition-all shrink-0 cursor-pointer"
>
جلد
</button>
<button
onClick={() => handleJumpToPage(2)}
className="px-2 py-1 rounded-lg text-[10px] font-black bg-slate-800 text-white hover:bg-slate-700 transition-all shrink-0 cursor-pointer"
className="px-2.5 py-1 rounded-lg text-[10px] font-black bg-slate-800 text-white hover:bg-slate-700 transition-all shrink-0 cursor-pointer"
>
فهرست
</button>
@@ -813,7 +813,7 @@ export default function FlipbookCatalog({ products }: FlipbookCatalogProps) {
<button
key={cat.id}
onClick={() => handleJumpToPage(cat.startPage)}
className="px-2 py-1 rounded-lg text-[10px] font-black text-white transition-all shrink-0 hover:scale-105 cursor-pointer shadow-xs"
className="px-2.5 py-1 rounded-lg text-[10px] font-black text-white transition-all shrink-0 hover:scale-105 cursor-pointer shadow-xs"
style={{ backgroundColor: cat.color }}
>
{cat.name.split(" ")[0]}