diff --git a/apps/web/app/(app)/recipes/page.tsx b/apps/web/app/(app)/recipes/page.tsx index 25075aa..3a2db23 100644 --- a/apps/web/app/(app)/recipes/page.tsx +++ b/apps/web/app/(app)/recipes/page.tsx @@ -104,7 +104,7 @@ export default async function RecipesPage({ searchParams }: { searchParams: Sear }; return ( -
+
{m.recipes.tabMine} diff --git a/apps/web/components/recipe/recipes-header.tsx b/apps/web/components/recipe/recipes-header.tsx index 7cda847..09cd625 100644 --- a/apps/web/components/recipe/recipes-header.tsx +++ b/apps/web/components/recipe/recipes-header.tsx @@ -127,11 +127,11 @@ export function RecipesHeader({ return ( <> -
-
+
+
-

{t("title")}

-

+

{t("title")}

+

{count === 0 ? t("subtitle") : t(count !== 1 ? "resultPlural" : "resultSingular", { count })} @@ -154,8 +154,9 @@ export function RecipesHeader({

- {/* Search */} -
+ {/* Search — shares the row with Sort/Filter even on mobile now that + those are icon-only there, instead of forcing a whole row to itself. */} +
- {SORT_KEYS[initialSort] ? t(SORT_KEYS[initialSort]) : t("sort")} + {SORT_KEYS[initialSort] ? t(SORT_KEYS[initialSort]) : t("sort")} @@ -206,11 +207,11 @@ export function RecipesHeader({ 0 ? "secondary" : "outline", size: "sm" }), - "gap-1.5" + "gap-1.5 shrink-0" )} > - {t("filter")} + {t("filter")} {activeFilterCount > 0 && ( {activeFilterCount}