дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
fix(editor): make Find Usages result rows easier to scan (#5207)
Find Usages now uses the result tree's font for both line numbers and snippets. Line numbers start at the same indent and take only the width of their digits, with a 4 px gap before the snippet. This brings short line numbers closer to their code and gives the snippet more room on narrow panes.
Цей коміт міститься в:
1 джерело
bef9223913
коміт
39068cffb3
3 files changed
+74
-6
No files matched your search
@@ -98,13 +98,13 @@
|
||||
flex: none;
|
||||
color: var(--fg-subtle);
|
||||
}
|
||||
.occurrence {
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.line {
|
||||
flex: none;
|
||||
min-width: 3ch;
|
||||
text-align: right;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-ui);
|
||||
color: var(--fg-line-number);
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: var(--fg-subtle);
|
||||
}
|
||||
.preview {
|
||||
min-width: 0;
|
||||
@@ -114,6 +114,9 @@
|
||||
font-size: var(--fs-code);
|
||||
color: var(--fg);
|
||||
}
|
||||
.occurrence .preview {
|
||||
font: inherit;
|
||||
}
|
||||
.match {
|
||||
background: var(--bg-search-match);
|
||||
color: var(--fg-search-match, inherit);
|
||||
|
||||
Reference in new issue
Заблокувати користувача