diff --git a/src/main/frontend/extensions/code.css b/src/main/frontend/extensions/code.css index 3d100e7495..f9457fd511 100644 --- a/src/main/frontend/extensions/code.css +++ b/src/main/frontend/extensions/code.css @@ -13,7 +13,7 @@ position: absolute; width: fit-content; /* height:2rem; */ - order:3; + order: 3; display: flex; left: auto; right: 0; @@ -21,10 +21,6 @@ z-index: 9999; } - .code-editor { - margin-top: 28px; - } - &-calc { @apply text-sm; padding: 0.25em; @@ -40,22 +36,22 @@ } .CodeMirror { - width: 100%; - font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace; - border-radius: 2px; - line-height: 1.45em; + width: 100%; + font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace; + border-radius: 2px; + line-height: 1.45em; - &:not(.CodeMirror-focused) { - .CodeMirror-activeline-background { - background: unset !important; - } + &:not(.CodeMirror-focused) { + .CodeMirror-activeline-background { + background: unset !important; } + } - pre.CodeMirror-line { - box-shadow: none !important; - } + pre.CodeMirror-line { + box-shadow: none !important; + } - .CodeMirror-hscrollbar { - cursor: pointer; - } + .CodeMirror-hscrollbar { + cursor: pointer; + } }