diff options
| author | Fuwn <[email protected]> | 2026-02-07 04:13:35 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-07 04:13:35 -0800 |
| commit | 346fe93a012218888eb28cc3cbee315d7ed4219d (patch) | |
| tree | 98ca4523132cf8e6a252c8de4f785fb94f26eab1 /apps/web/lib/api-auth.ts | |
| parent | fix: use fixed rem-based sidebar min/default with whitespace-nowrap (diff) | |
| download | asa.news-346fe93a012218888eb28cc3cbee315d7ed4219d.tar.xz asa.news-346fe93a012218888eb28cc3cbee315d7ed4219d.zip | |
feat: dynamically compute sidebar max width from item text widths
Measures all sidebar items (nav links, feeds, folders, custom feeds,
footer) using Canvas measureText to determine the narrowest width
that avoids truncation, then passes it as the Panel maxSize.
Diffstat (limited to 'apps/web/lib/api-auth.ts')
0 files changed, 0 insertions, 0 deletions