fix(all-products): make filter bar static on mobile
sticky top-16 z-30 -> md:sticky md:top-16 md:z-30 (was covering most of small mobile screens)
This commit is contained in:
1 parent
1ead86ad98
commit
e0f4554a2b
1 file changed
+1
-1
@@ -84,7 +84,7 @@ const categoryIdMap = Object.fromEntries(categories.map(c => [c.name, c.id]));
|
||||
</section>
|
||||
|
||||
<!-- Filter Buttons -->
|
||||
<section class="py-8 bg-white border-b border-neutral-200 sticky top-16 z-30">
|
||||
<section class="py-8 bg-white border-b border-neutral-200 md:sticky md:top-16 md:z-30">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
<div class="flex flex-wrap gap-3" id="filter-buttons">
|
||||
<button data-filter="all" class="filter-btn active px-4 py-2 bg-primary-600 text-white rounded-full text-sm font-medium transition-colors">
|
||||
|
||||
Reference in new issue
Block a user