mirror of
https://github.com/ansible/awx.git
synced 2026-04-05 01:59:25 -02:30
Change CodeMirror config to hide scrollbar
This commit is contained in:
@@ -41,7 +41,6 @@
|
|||||||
textarea[disabled="disabled"] + div[id*="-container"]{
|
textarea[disabled="disabled"] + div[id*="-container"]{
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror.cm-s-default,
|
.CodeMirror.cm-s-default,
|
||||||
@@ -66,10 +65,4 @@ textarea[disabled="disabled"] + div[id*="-container"]{
|
|||||||
.CodeMirror-cursors {
|
.CodeMirror-cursors {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror.cm-s-default {
|
|
||||||
min-height: initial !important;
|
|
||||||
max-height: initial !important;
|
|
||||||
height: initial !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ export default
|
|||||||
"styleActiveLine": true,
|
"styleActiveLine": true,
|
||||||
"lineNumbers": true,
|
"lineNumbers": true,
|
||||||
"gutters": ["CodeMirror-lint-markers"],
|
"gutters": ["CodeMirror-lint-markers"],
|
||||||
"lint": true
|
"lint": true,
|
||||||
|
"scrollbarStyle": null
|
||||||
},
|
},
|
||||||
"json": {
|
"json": {
|
||||||
"mode": "application/json",
|
"mode": "application/json",
|
||||||
@@ -32,7 +33,8 @@ export default
|
|||||||
"autoCloseBrackets": true,
|
"autoCloseBrackets": true,
|
||||||
"lineNumbers": true,
|
"lineNumbers": true,
|
||||||
"gutters": ["CodeMirror-lint-markers"],
|
"gutters": ["CodeMirror-lint-markers"],
|
||||||
"lint": true
|
"lint": true,
|
||||||
|
"scrollbarStyle": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user