дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(appearance): fallback font for the custom UI font (#660)
Adds a UI fallback font under Settings › Appearance › Use custom font, so glyphs missing from the chosen UI font (e.g. CJK in Menlo) render in a font the user picks instead of the system default. The fallback joins the UI font stack used by menus, the project tree and dialogs, and resolves macOS user fonts through the shared font loader. Also keeps the custom font controls wrapping together at narrow widths and covers save/clear/disable, stack composition and settings round-trip in tests. Fixes #654 Co-authored-by: a-rookie-of-C-language <[email protected]>
Цей коміт міститься в:
1 джерело
f8d6f9df77
коміт
5c0a5239fa
11 files changed
+142
-38
No files matched your search
@@ -24,7 +24,7 @@
|
||||
padding: 8px 14px;
|
||||
}
|
||||
|
||||
/* "[x] Use custom font: [Inter] Size: [13]" */
|
||||
/* Inline option groups, with custom font controls wrapping together. */
|
||||
.fontRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -37,8 +37,17 @@
|
||||
.fontInput {
|
||||
width: 220px;
|
||||
}
|
||||
.sizeLabel {
|
||||
margin-left: 8px;
|
||||
.customFontRow {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.fontOption {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.fontOption > label {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.sizeInput {
|
||||
width: 64px;
|
||||
|
||||
Reference in new issue
Заблокувати користувача