style: compact nav_filter.liquid layout

This commit is contained in:
Kerby Martino (aider) committed 2025-05-12 21:08:58 +08:00
1 parent c88757e772
commit 700e27400f
1 file changed
+1 -3
+1 -3
View File
@@ -1,6 +1,6 @@
<!-- Filter Section --> <!-- Filter Section -->
<section class="bg-white py-2 sm:py-4 border-b border-gray-200 text-sm"> <section class="bg-white py-2 sm:py-4 border-b border-gray-200 text-sm">
<div class="container mx-auto mx-auto px-4 sm:px-6 lg:px-12 xl:px-24 xxl:px-32 py-3"> <div class="container mx-auto px-4 sm:px-6 lg:px-12 xl:px-24 xxl:px-32 py-3">
<!-- Mobile Filter Trigger --> <!-- Mobile Filter Trigger -->
<div class="sm:hidden flex justify-between items-center"> <div class="sm:hidden flex justify-between items-center">
<span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span> <span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span>
@@ -47,7 +47,6 @@
</div> </div>
</div> </div>
<!-- Availability Filter --> <!-- Availability Filter -->
<div class="relative"> <div class="relative">
<button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-green-300 font-heading text-base hover:outline hover:outline-2 hover:outline-green-300"> <button onclick="toggleDropdown('availability-filter-dropdown')" class="w-full text-green-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-green-300 font-heading text-base hover:outline hover:outline-2 hover:outline-green-300">
@@ -403,7 +402,6 @@
// Example: reset checkboxes, sliders, inputs within the drawer // Example: reset checkboxes, sliders, inputs within the drawer
}); });
// Mobile Accordion Logic // Mobile Accordion Logic
const accordionToggles = document.querySelectorAll('.accordion-toggle-mobile'); const accordionToggles = document.querySelectorAll('.accordion-toggle-mobile');
accordionToggles.forEach(button => { accordionToggles.forEach(button => {