fix: editor width
This commit is contained in:
@@ -463,23 +463,29 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
@apply block;
|
@apply !h-auto;
|
||||||
@apply w-full;
|
|
||||||
@apply !h-full;
|
|
||||||
|
|
||||||
&:not(.CodeMirror-focused) .CodeMirror-activeline-background {
|
&:not(.CodeMirror-focused) .CodeMirror-activeline-background {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.CodeMirror-dialog-top {
|
||||||
|
@apply bg-primaryLight;
|
||||||
|
@apply border-dividerLight;
|
||||||
|
@apply px-4;
|
||||||
|
@apply py-2;
|
||||||
|
@apply z-5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.CodeMirror-scroll {
|
||||||
|
@apply min-h-64;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "Roboto Mono", monospace;
|
font-family: "Roboto Mono", monospace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror-scroll {
|
|
||||||
@apply min-h-64;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
main {
|
main {
|
||||||
margin-bottom: env(safe-area-inset-bottom);
|
margin-bottom: env(safe-area-inset-bottom);
|
||||||
|
|||||||
@@ -146,9 +146,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="bulkMode" class="flex">
|
<div v-if="bulkMode" ref="bulkEditor"></div>
|
||||||
<div ref="bulkEditor"></div>
|
|
||||||
</div>
|
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div
|
<div
|
||||||
v-for="(header, index) in headers"
|
v-for="(header, index) in headers"
|
||||||
|
|||||||
@@ -47,9 +47,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="bulkMode" class="flex">
|
<div v-if="bulkMode" ref="bulkEditor"></div>
|
||||||
<div ref="bulkEditor"></div>
|
|
||||||
</div>
|
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div
|
<div
|
||||||
v-for="(header, index) in headers$"
|
v-for="(header, index) in headers$"
|
||||||
|
|||||||
@@ -47,9 +47,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="bulkMode" class="flex">
|
<div v-if="bulkMode" ref="bulkEditor"></div>
|
||||||
<div ref="bulkEditor"></div>
|
|
||||||
</div>
|
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div
|
<div
|
||||||
v-for="(param, index) in params$"
|
v-for="(param, index) in params$"
|
||||||
|
|||||||
Reference in New Issue
Block a user