diff options
| author | Fuwn <[email protected]> | 2026-02-07 04:01:02 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-07 04:01:02 -0800 |
| commit | 66061028eacd955d767df3157c9f9ede2eb00182 (patch) | |
| tree | 409d1e07fe70c211e4b8e5ad849a2f3051b54207 /apps/web/lib/api-auth.ts | |
| parent | fix: measure text nodes in sidebar min width calculation (diff) | |
| download | asa.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