summaryrefslogtreecommitdiff
path: root/apps/web/lib/api-auth.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-07 04:13:35 -0800
committerFuwn <[email protected]>2026-02-07 04:13:35 -0800
commit346fe93a012218888eb28cc3cbee315d7ed4219d (patch)
tree98ca4523132cf8e6a252c8de4f785fb94f26eab1 /apps/web/lib/api-auth.ts
parentfix: use fixed rem-based sidebar min/default with whitespace-nowrap (diff)
downloadasa.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