fix(工具箱/JSON 格式化): 优化“输出内容”显示样式,解决内容较多时行号显示不全的问题

This commit is contained in:
2025-02-07 16:51:51 +08:00
parent 9034790421
commit b338b91e5a
2 changed files with 5 additions and 3 deletions

View File

@@ -110,8 +110,8 @@ export const toolList = [
iconClass: 'mdi mdi-code-json',
desc: '格式化 / 美化 JSON 字符串',
createdAt: '2025-02-04',
updatedAt: '2025-02-04',
version: '1',
updatedAt: '2025-02-07',
version: '2',
enabled: true,
},
],

View File

@@ -225,7 +225,9 @@ function sortObjectKeys(obj) {
.json-output {
user-select: text;
:deep(pre) {
:deep(.__code__) {
flex-grow: 1;
width: 0;
overflow-x: auto;
}
}