mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 01:32:25 +01:00
Fix codemirror editor padding
This commit is contained in:
parent
a64aabf24a
commit
be2c0566a0
@ -1308,6 +1308,7 @@ span.CodeMirror-selectedtext {
|
||||
|
||||
.CodeMirror {
|
||||
margin-bottom: 1rem;
|
||||
padding: 0 1rem;
|
||||
min-height: 24rem;
|
||||
border: 1px solid #c9c9c9;
|
||||
border-radius: 3px;
|
||||
@ -1317,8 +1318,8 @@ span.CodeMirror-selectedtext {
|
||||
.CodeMirror-lines {
|
||||
padding: 0.75rem 0; }
|
||||
|
||||
.CodeMirror pre {
|
||||
padding: 0 1rem; }
|
||||
.CodeMirror-lines pre {
|
||||
padding: 0; }
|
||||
|
||||
.editor-toolbar + .editor-textarea,
|
||||
.editor-textarea + .CodeMirror {
|
||||
|
2
admin/assets/css/admin.min.css
vendored
2
admin/assets/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -37,6 +37,7 @@
|
||||
|
||||
.CodeMirror {
|
||||
margin-bottom: $editor-textarea-margin-bottom;
|
||||
padding: 0 $editor-textarea-padding-h;
|
||||
min-height: 15 * $font-size-m * $base-line-height + $editor-textarea-padding-v * 2;
|
||||
border: $input-border-width solid $color-base-500;
|
||||
border-radius: $input-border-radius;
|
||||
@ -48,8 +49,8 @@
|
||||
padding: $editor-textarea-padding-v 0;
|
||||
}
|
||||
|
||||
.CodeMirror pre {
|
||||
padding: 0 $editor-textarea-padding-h;
|
||||
.CodeMirror-lines pre {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-toolbar + .editor-textarea,
|
||||
|
Loading…
x
Reference in New Issue
Block a user