mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 15:43:24 +08:00
修复文件编辑页样式
This commit is contained in:
parent
6256acbfca
commit
630ced4451
|
@ -6,14 +6,16 @@ body {
|
||||||
|
|
||||||
@import '~codemirror/lib/codemirror.css';
|
@import '~codemirror/lib/codemirror.css';
|
||||||
|
|
||||||
.CodeMirror {
|
.log-modal-code {
|
||||||
height: auto;
|
.CodeMirror {
|
||||||
}
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.CodeMirror-scroll {
|
.CodeMirror-scroll {
|
||||||
height: auto;
|
height: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-container-wrapper {
|
.ql-container-wrapper {
|
||||||
|
|
|
@ -102,6 +102,7 @@ const CronLogModal = ({
|
||||||
{!loading && value && (
|
{!loading && value && (
|
||||||
<CodeMirror
|
<CodeMirror
|
||||||
value={value}
|
value={value}
|
||||||
|
className="log-modal-code"
|
||||||
options={{
|
options={{
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user