perm: 优化json过大时标题输入卡顿的问题

This commit is contained in:
albert
2022-10-28 17:58:27 +08:00
parent 7cfc05cee9
commit d1970ac14e
10 changed files with 63 additions and 63 deletions

View File

@@ -1 +1 @@
*{padding:0;margin:0;box-sizing:border-box}.title{text-align:center;font-size:40px;font-weight:700;height:100px;line-height:100px}.desc{padding:20px;padding:0 3em;font-size:1.2em}.container,.desc{width:80vw;min-width:800px;margin:auto}.container{display:flex;padding:20px;justify-content:center;height:calc(100vh - 150px)}.code-container{max-height:600px;overflow:auto}.schema{margin-left:20px;width:50%;height:100%;overflow-y:auto;overflow-x:hidden;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:12px}.CodeMirror{height:100%!important}.vue-codemirror{flex:1;margin:0 24px;border:1px solid rgba(0,0,0,.1);min-height:300px;overflow:auto;border-radius:6px}.json-schema-editor .row[data-v-43dcb7a8]{display:flex;margin:12px}.json-schema-editor .row .ant-col-name .ant-col-name-c[data-v-43dcb7a8],.json-schema-editor .row .ant-col-name[data-v-43dcb7a8]{display:flex;align-items:center}.json-schema-editor .row .ant-col-name .ant-col-name-required[data-v-43dcb7a8]{flex:0 0 24px;text-align:center}.json-schema-editor .row .ant-col-type[data-v-43dcb7a8]{width:100%}.json-schema-editor .row .ant-col-setting[data-v-43dcb7a8]{display:inline-block}.json-schema-editor .row .setting-icon[data-v-43dcb7a8]{color:rgba(0,0,0,.45);border:none}.json-schema-editor .row .plus-icon[data-v-43dcb7a8]{border:none}.json-schema-editor .row .close-icon[data-v-43dcb7a8]{color:#888;border:none}.json-schema-editor-advanced-modal{color:rgba(0,0,0,.65);min-width:600px}.json-schema-editor-advanced-modal pre{font-family:monospace;height:100%;overflow-y:auto;border:1px solid rgba(0,0,0,.1);border-radius:4px;padding:12px;width:50%}.json-schema-editor-advanced-modal h3{display:block;border-left:3px solid #1890ff;padding:0 8px}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item{display:flex}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item .ant-form-item-control-wrapper{flex:1}
*{padding:0;margin:0;box-sizing:border-box}.title{text-align:center;font-size:40px;font-weight:700;height:100px;line-height:100px}.desc{padding:20px;padding:0 3em;font-size:1.2em}.container,.desc{width:80vw;min-width:800px;margin:auto}.container{display:flex;padding:20px;justify-content:center;height:calc(100vh - 150px)}.code-container{max-height:600px;overflow:auto}.schema{margin-left:20px;width:50%;height:100%;overflow-y:auto;overflow-x:hidden;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:12px}.CodeMirror{height:100%!important}.vue-codemirror{flex:1;margin:0 24px;border:1px solid rgba(0,0,0,.1);min-height:300px;overflow:auto;border-radius:6px}.json-schema-editor .row[data-v-3cf03c5a]{display:flex;margin:12px}.json-schema-editor .row .ant-col-name .ant-col-name-c[data-v-3cf03c5a],.json-schema-editor .row .ant-col-name[data-v-3cf03c5a]{display:flex;align-items:center}.json-schema-editor .row .ant-col-name .ant-col-name-required[data-v-3cf03c5a]{flex:0 0 24px;text-align:center}.json-schema-editor .row .ant-col-type[data-v-3cf03c5a]{width:100%}.json-schema-editor .row .ant-col-setting[data-v-3cf03c5a]{display:inline-block}.json-schema-editor .row .setting-icon[data-v-3cf03c5a]{color:rgba(0,0,0,.45);border:none}.json-schema-editor .row .plus-icon[data-v-3cf03c5a]{border:none}.json-schema-editor .row .close-icon[data-v-3cf03c5a]{color:#888;border:none}.json-schema-editor-advanced-modal{color:rgba(0,0,0,.65);min-width:600px}.json-schema-editor-advanced-modal pre{font-family:monospace;height:100%;overflow-y:auto;border:1px solid rgba(0,0,0,.1);border-radius:4px;padding:12px;width:50%}.json-schema-editor-advanced-modal h3{display:block;border-left:3px solid #1890ff;padding:0 8px}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item{display:flex}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item .ant-form-item-control-wrapper{flex:1}