Fix shop filter spacing: consistent checkbox gaps, more room below mobile filter bar

CategoryFilter used gap-4 between the category group and the
availability checkbox but gap-2 within the category list itself,
reading as uneven spacing. ProductGrid's <lg filter bar only had
pb-6 before the product grid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Marco
2026-08-01 19:01:16 +00:00
parent 51632b1668
commit b0df2f13fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export function CategoryFilter({ categories }: { categories: string[] }) {
}
return (
<div className="flex flex-col gap-4 w-full">
<div className="flex flex-col gap-2 w-full">
{categories.length > 1 && (
<div className="flex flex-col gap-2 w-full">
<p className="font-bold text-body-sm text-text-primary">Kategorie</p>
+1 -1
View File
@@ -80,7 +80,7 @@ export async function ProductGrid({
as before. lg+: they move into a left sidebar instead (see aside
below), so this is hidden there to avoid rendering twice. */}
{hasSidebarFilter && (
<div className="lg:hidden flex flex-col gap-4 pb-6">
<div className="lg:hidden flex flex-col gap-4 pb-10">
<PriceRangeFilter catalogMin={catalogMin} catalogMax={catalogMax} />
<CategoryFilter categories={allCategories} />
</div>