fix(filters): the year dialog's sort caption keeps its distance from the toggle

This commit is contained in:
2026-11-14 15:23:16 +01:00
parent 1dff809268
commit d265c84c8b
+4 -3
View File
@@ -92,11 +92,12 @@ export default function YearPicker({
onClose={() => setOpen(false)}
maxWidth="max-w-4xl"
>
<div className="mb-3 flex items-center">
<div className="mb-3 flex items-center justify-end gap-2">
<span className="text-muted text-xs" aria-hidden="true">
{t("sidebar.year.sortBy")}
</span>
<SegmentedToggle
className="ml-auto"
ariaLabel={t("sidebar.year.sortBy")}
label={t("sidebar.year.sortBy")}
value={sort}
onChange={setSort}
options={[