Browse Source

fix(json-format): 修复 JSON 格式化后的 value 中空白字符显示缺失的问题

Serifx 5 months ago
parent
commit
4fefd53912
1 changed files with 3 additions and 1 deletions
  1. 3 1
      apps/json-format/content-script.css

+ 3 - 1
apps/json-format/content-script.css

@@ -93,8 +93,10 @@ html.fh-jf .item .kv-list {
     border-left: 1px dashed #bbb;
     margin-left: 2px
 }
+
 html.fh-jf .item .string {
-    word-wrap: break-word
+    word-wrap: break-word;
+    white-space: pre-wrap;
 }
 
 html.fh-jf .item .string a {