summaryrefslogtreecommitdiff
path: root/apps/web/lib/api-auth.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-07 04:01:02 -0800
committerFuwn <[email protected]>2026-02-07 04:01:02 -0800
commit66061028eacd955d767df3157c9f9ede2eb00182 (patch)
tree409d1e07fe70c211e4b8e5ad849a2f3051b54207 /apps/web/lib/api-auth.ts
parentfix: measure text nodes in sidebar min width calculation (diff)
downloadasa.news-66061028eacd955d767df3157c9f9ede2eb00182.tar.xz
asa.news-66061028eacd955d767df3157c9f9ede2eb00182.zip
fix: use fixed rem-based sidebar min/default with whitespace-nowrap
The dynamic measurement approach failed because the library caches Panel constraints at mount and ignores state-driven prop updates. Now uses fixed rem values (12rem min, 16rem default) which scale with font size, plus whitespace-nowrap on all sidebar items to prevent text wrapping at any width.
Diffstat (limited to 'apps/web/lib/api-auth.ts')
0 files changed, 0 insertions, 0 deletions