Skip to content

Commit b07d08d

Browse files
committedNov 8, 2023
fix: use mono font in JSON Preview
1 parent afaca42 commit b07d08d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎src/lib/components/controls/JSONPreview.scss

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
.jse-json-preview {
44
flex: 1;
5+
font-family: var(--jse-font-family-mono);
6+
font-size: var(--jse-font-size-mono);
57
color: var(--jse-panel-color-readonly);
68
overflow: auto;
79
white-space: pre-wrap;

‎src/lib/components/modes/tablemode/TableMode.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
background: var(--jse-background-color);
99
min-width: 0;
1010
min-height: 0;
11-
font-family: var(--jse-font-family-mono);
12-
font-size: var(--jse-font-size-mono);
1311
color: var(--jse-text-color);
12+
line-height: var(--jse-line-height);
1413

1514
&.no-main-menu {
1615
border-top: var(--jse-main-border);

0 commit comments

Comments
 (0)
Please sign in to comment.