diff --git a/src/assets/less/theme.less b/src/assets/less/theme.less index 68835f3..c49cee8 100644 --- a/src/assets/less/theme.less +++ b/src/assets/less/theme.less @@ -145,8 +145,7 @@ } .CodeMirror-scroll { - padding: 20px; - padding-bottom: 0px; + padding: 0 20px; overflow-x: hidden !important; overflow-y: scroll !important; } @@ -155,3 +154,9 @@ width: 0px; height: 0px; } + +.CodeMirror-wrap { + padding-top: 20px; + padding-bottom: 20px; + box-sizing: border-box; +}