Skip to content

Commit 1e780ce

Browse files
authored
fix: word wrap, leading indentaion
fixes #29
2 parents 937bfb9 + e6d82ec commit 1e780ce

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
# CHANGELOG V2.1.7
2-
* ✨ Feat [#26](https://github.com/arnav-kr/json-formatter/issues/26) Ability to customize keyboard shortcuts
3-
* 🐞 Minor Bug Fixes
1+
# CHANGELOG V2.1.8
2+
* 🐞 Fix [[#29](https://github.com/arnav-kr/json-formatter/issues/29)]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![GitHub](https://img.shields.io/github/license/arnav-kr/json-formatter?style=flat-square&logo=github&logoColor=white&label=GitHub&labelColor=%233d3d3d&color=%234285F4)](https://github.com/arnav-kr/json-formatter)
1111

1212

13-
**[V2.1.7.0 CHANGELOG](CHANGELOG.md)**
13+
**[V2.1.8.0 CHANGELOG](CHANGELOG.md)**
1414

1515
## Features:
1616
* 60+ Themes for both Light and Dark Mode

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+
} */

extension/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "JSON Formatter",
33
"short_name": "JSON Formatter",
4-
"version": "2.1.7",
5-
"version_name": "Version 2.1.7 Beta",
4+
"version": "2.1.8",
5+
"version_name": "Version 2.1.8 Beta",
66
"manifest_version": 3,
77
"description": "Formats JSON automatically! Open Source, Available with 60+ Themes, Syntax Highlighting, automatically linkifies links and more.",
88
"author": "Arnav",

0 commit comments

Comments
 (0)