fix(filters): the year dialog's sort caption keeps its distance from the toggle
This commit is contained in:
@@ -92,11 +92,12 @@ export default function YearPicker({
|
|||||||
onClose={() => setOpen(false)}
|
onClose={() => setOpen(false)}
|
||||||
maxWidth="max-w-4xl"
|
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
|
<SegmentedToggle
|
||||||
className="ml-auto"
|
|
||||||
ariaLabel={t("sidebar.year.sortBy")}
|
ariaLabel={t("sidebar.year.sortBy")}
|
||||||
label={t("sidebar.year.sortBy")}
|
|
||||||
value={sort}
|
value={sort}
|
||||||
onChange={setSort}
|
onChange={setSort}
|
||||||
options={[
|
options={[
|
||||||
|
|||||||
Reference in New Issue
Block a user