fix: editor width

This commit is contained in:
liyasthomas
2021-09-12 02:08:37 +05:30
parent 948cf9dae3
commit 9082152f1a
4 changed files with 16 additions and 16 deletions

View File

@@ -463,23 +463,29 @@ input[type="checkbox"] {
}
.CodeMirror {
@apply block;
@apply w-full;
@apply !h-full;
@apply !h-auto;
&:not(.CodeMirror-focused) .CodeMirror-activeline-background {
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;
}
}
.CodeMirror-scroll {
@apply min-h-64;
}
@media (max-width: 767px) {
main {
margin-bottom: env(safe-area-inset-bottom);