fix(editor): scale gutter icons with the editor font zoom (#7352)

Gutter icons kept a fixed 14px while the editor font zoomed. They now follow the font size through --openidea-gutter-icon-size (14px at the default size, within 10-32px), applied to the icon area, the http/GraphQL/database run gutters and the feature icon wrappers.

Closes #7332

Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
LU XIANGRUIтаwildcatDownstairs authored and GitHub committed 2026-12-02 11:20:42 +08:00
1 джерело 7361707b63
коміт 1eece0ae51
10 files changed
+82 -18

No files matched your search

+1 -1
Переглянути файл
@@ -850,7 +850,7 @@
user-select: none;
}
:global(.cm-openidea-db-gutter) {
width: 16px;
width: calc(var(--openidea-gutter-icon-size, 14px) + 2px);
}
:global(.cm-openidea-db-gutter .cm-gutterElement) {
display: flex;