fix(desktop): 字体设置对加粗字符生效 (#3459)#3569
Merged
esengine merged 1 commit intoJun 8, 2026
Merged
Conversation
移除 .settings-model-picker__option strong 中强制的 font-family: var(--mono), 让模型名称等加粗文本跟随用户选择的字体设置。
esengine
approved these changes
Jun 8, 2026
esengine
left a comment
Owner
There was a problem hiding this comment.
Verified check:css; dropping the hardcoded mono lets the font setting apply. Clean.
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.
问题
设置中选择的字体对加粗字符(bold text)无效,加粗文本仍以默认字体渲染,未跟随用户选择的字体。
根因
styles.css:6953中.settings-model-picker__option strong强制使用了font-family: var(--mono),覆盖了用户选择的字体。修复
移除
.settings-model-picker__option strong中的font-family: var(--mono);,让模型名称等加粗文本跟随用户选择的字体设置。测试
npm run typecheck通过npm run check:css通过Fixes #3459