1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #7091 from marshmalien/fix/removeExtraCodeMirrorScrollbar

Hide CodeMirror native scrollbar
This commit is contained in:
Marliana Lara 2017-07-17 15:10:47 -04:00 committed by GitHub
commit f2d7b99553
2 changed files with 4 additions and 9 deletions

View File

@ -41,7 +41,6 @@
textarea[disabled="disabled"] + div[id*="-container"]{
.CodeMirror {
cursor: not-allowed;
pointer-events: none;
}
.CodeMirror.cm-s-default,
@ -66,10 +65,4 @@ textarea[disabled="disabled"] + div[id*="-container"]{
.CodeMirror-cursors {
display: none;
}
.CodeMirror.cm-s-default {
min-height: initial !important;
max-height: initial !important;
height: initial !important;
}
}

View File

@ -23,7 +23,8 @@ export default
"styleActiveLine": true,
"lineNumbers": true,
"gutters": ["CodeMirror-lint-markers"],
"lint": true
"lint": true,
"scrollbarStyle": null
},
"json": {
"mode": "application/json",
@ -32,7 +33,8 @@ export default
"autoCloseBrackets": true,
"lineNumbers": true,
"gutters": ["CodeMirror-lint-markers"],
"lint": true
"lint": true,
"scrollbarStyle": null
}
},
};