style(type): correct the trigger text from 16px back to the view-switcher's real 14px
The earlier bump measured the view-switcher's BUTTON (16px, inherited) instead of its visible label span (text-sm = 14px), and 14px is the size the user actually finds comfortable. Walk the over-sized triggers back to text-sm: FilterSelect, SortControl, ViewSwitcher, and the Combobox input (which was 14px before the bump anyway). The secondary text already at text-sm/text-xs (count, chips, widget headers, section labels) was correct and stays.
This commit is contained in:
@@ -65,7 +65,7 @@ export default function ViewSwitcher<T extends string>({
|
||||
// nicety for wide windows, not the accessible name.
|
||||
aria-label={`${label}: ${current.label}`}
|
||||
title={`${label}: ${current.label}`}
|
||||
className={`shrink-0 glass-card glass-hover inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-base transition ${
|
||||
className={`shrink-0 glass-card glass-hover inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-sm transition ${
|
||||
open ? "border-accent" : "border-border"
|
||||
}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user