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:
@@ -68,7 +68,7 @@ export default function SortControl({
|
||||
ref={pop.refs.setReference}
|
||||
{...pop.getReferenceProps()}
|
||||
aria-label={label}
|
||||
className={`glass-card glass-hover inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-base transition ${
|
||||
className={`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