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)}
|
||||
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={[
|
||||
|
||||
Reference in New Issue
Block a user