refactor: move media settings to developer tab, centralize config defaults

This commit is contained in:
Ryan Emmick
2026-03-05 13:38:15 -06:00
parent 8642646fa7
commit dedf4e158e
8 changed files with 332 additions and 289 deletions

View File

@@ -77,7 +77,14 @@ export const Slider: FC<Props> = ({
<Range className={styles.highlight} />
</Track>
{/* Note: This is expected not to be visible on mobile.*/}
<Tooltip placement="top" label={tooltipFormatter ? tooltipFormatter(value) : Math.round(value * 100).toString() + "%"}>
<Tooltip
placement="top"
label={
tooltipFormatter
? tooltipFormatter(value)
: Math.round(value * 100).toString() + "%"
}
>
<Thumb className={styles.handle} aria-label={label} />
</Tooltip>
</Root>