Repository navigation
fix(web): 侧栏文档链接不折行;VM 搜索框关闭自动填充 - #602
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
面板两处小问题:
min-w-0)又没禁止折行。字体比预期宽时(Inter/Manrope 未作为 web font 加载,实际落到系统字体,各浏览器/系统宽度不同),「文档」会被挤成逐字竖排的两行。变更
app-title.tsx:两枚链接flex-auto+whitespace-nowrap,所在行加min-w-0;文字包truncate,箭头shrink-[100] min-w-0。宽度够时与原来一致;不够时先缩箭头,再省略文字,不再竖排、不会撑出卡片。vm/list-page.tsx:搜索框加name='vm-filter'、autoComplete='off',以及 1Password / LastPass / Bitwarden 的忽略标记。自检
pnpm format:check、tsc -b、eslint(改动文件)通过;vitest run56 个文件 445 项全过。未做