|
@@ -13,7 +13,7 @@
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
width: fit-content;
|
|
width: fit-content;
|
|
|
/* height:2rem; */
|
|
/* height:2rem; */
|
|
|
- order:3;
|
|
|
|
|
|
|
+ order: 3;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
left: auto;
|
|
left: auto;
|
|
|
right: 0;
|
|
right: 0;
|
|
@@ -21,10 +21,6 @@
|
|
|
z-index: 9999;
|
|
z-index: 9999;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .code-editor {
|
|
|
|
|
- margin-top: 28px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
&-calc {
|
|
&-calc {
|
|
|
@apply text-sm;
|
|
@apply text-sm;
|
|
|
padding: 0.25em;
|
|
padding: 0.25em;
|
|
@@ -40,22 +36,22 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror {
|
|
.CodeMirror {
|
|
|
- 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;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ 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;
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- pre.CodeMirror-line {
|
|
|
|
|
- box-shadow: none !important;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ pre.CodeMirror-line {
|
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .CodeMirror-hscrollbar {
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .CodeMirror-hscrollbar {
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|