Skip to content

Commit 17e1519

Browse files
committed
fix: leading space, word wrapping
1 parent 937bfb9 commit 17e1519

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

extension/css/content.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
.JF_json-container .empty-icon {
2929
width: 18px;
30+
min-width: 18px;
3031
}
3132

3233
.JF_json-container .json-type {
@@ -117,6 +118,7 @@ body.JF_.JF_dark {
117118

118119
.JF_json-container.JF_dark .empty-icon {
119120
width: 18px;
121+
min-width: 18px;
120122
}
121123

122124
.JF_json-container.JF_dark .json-type {
@@ -217,20 +219,20 @@ body.JF_.JF_dark {
217219
justify-content: center;
218220
}
219221

220-
.JF_button-wrapper>button:first-child {
222+
.JF_button-wrapper > button:first-child {
221223
border-radius: 4px 0 0 4px;
222224
left: 1px;
223225
}
224226

225-
.JF_button-wrapper>button:nth-child(2) {
227+
.JF_button-wrapper > button:nth-child(2) {
226228
border-radius: 0;
227229
border-width: 0 1px;
228230
border-style: solid;
229231
border-color: #dadce0;
230232
margin: 0;
231233
}
232234

233-
.JF_button-wrapper>button:last-child {
235+
.JF_button-wrapper > button:last-child {
234236
border-radius: 0 4px 4px 0;
235237
}
236238

@@ -334,9 +336,9 @@ body.JF_.JF_dark {
334336

335337
.JF_word-wrap {
336338
/* enable wrapping like in vs code, break anywhere */
337-
white-space: pre-wrap;
338-
word-break: break-word;
339-
word-wrap: break-word;
339+
white-space: pre-wrap !important;
340+
word-break: break-word !important;
341+
word-wrap: break-word !important;
340342
}
341343

342344
.JF_invisible-toolbar {
@@ -442,4 +444,4 @@ body.JF_dark #JF_context_menu .JF_context_menu_item kbd {
442444
body.JF_dark #JF_whats_new {
443445
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12),
444446
0 19px 38px 0 rgba(0, 0, 0, 0.24);
445-
} */
447+
} */

0 commit comments

Comments
 (0)