fix(工具箱/JSON 格式化): 优化“输出内容”显示样式,解决内容较多时行号显示不全的问题
This commit is contained in:
@@ -110,8 +110,8 @@ export const toolList = [
|
|||||||
iconClass: 'mdi mdi-code-json',
|
iconClass: 'mdi mdi-code-json',
|
||||||
desc: '格式化 / 美化 JSON 字符串',
|
desc: '格式化 / 美化 JSON 字符串',
|
||||||
createdAt: '2025-02-04',
|
createdAt: '2025-02-04',
|
||||||
updatedAt: '2025-02-04',
|
updatedAt: '2025-02-07',
|
||||||
version: '1',
|
version: '2',
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@@ -225,7 +225,9 @@ function sortObjectKeys(obj) {
|
|||||||
.json-output {
|
.json-output {
|
||||||
user-select: text;
|
user-select: text;
|
||||||
|
|
||||||
:deep(pre) {
|
:deep(.__code__) {
|
||||||
|
flex-grow: 1;
|
||||||
|
width: 0;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user