style: Remove unnecessary padding classes from post list filter

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-09 13:29:31 +08:00
1 parent 237570f16d
commit 1994d19fae
1 file changed
+3 -3
+3 -3
View File
@@ -16,10 +16,10 @@
{% assign sort_by = page.sort_by | default: 'new' %}
<!-- Filter and Sort Controls -->
<div class="mb-6 p-2 sm:p-4 bg-gray-100 rounded-md"> <!-- Adjusted padding for mobile -->
<div class="flex flex-row flex-wrap items-center justify-between gap-2"> <!-- Main row, wraps, spaces items -->
<div class="mb-6 bg-gray-100 rounded-md">
<div class="flex flex-row flex-wrap items-center justify-between gap-2">
<!-- Filter by Type -->
<div class="filter-controls flex items-center flex-wrap gap-2"> <!-- Filter buttons, wraps, spaces them -->
<div class="filter-controls flex items-center flex-wrap gap-2">
<a href="/" class="filter-btn flex items-center justify-center p-2 border-2 {% if filter_type == 'all' %}border-primary bg-primary/10{% else %}border-gray-300{% endif %} rounded-md hover:border-primary transition-colors">
<i class="fas fa-list fa-fw text-primary sm:mr-2"></i>
<span class="text-sm font-action font-medium text-primary hidden sm:inline">All</span>