refac: styling

This commit is contained in:
Timothy J. Baek 2024-06-10 17:22:44 -07:00
parent 8b1e2ce279
commit 12a04b118f
1 changed files with 21 additions and 9 deletions

View File

@ -24,15 +24,6 @@ math {
margin-top: 1rem; margin-top: 1rem;
} }
.cm-editor {
height: 100%;
width: 100%;
}
.cm-editor.cm-focused {
outline: none;
}
.hljs { .hljs {
@apply rounded-lg; @apply rounded-lg;
} }
@ -101,10 +92,18 @@ select {
visibility: hidden; visibility: hidden;
} }
.scrollbar-hidden::-webkit-scrollbar-corner {
display: none;
}
.scrollbar-none::-webkit-scrollbar { .scrollbar-none::-webkit-scrollbar {
display: none; /* for Chrome, Safari and Opera */ display: none; /* for Chrome, Safari and Opera */
} }
.scrollbar-none::-webkit-scrollbar-corner {
display: none;
}
.scrollbar-none { .scrollbar-none {
-ms-overflow-style: none; /* IE and Edge */ -ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
@ -120,3 +119,16 @@ input::-webkit-inner-spin-button {
input[type='number'] { input[type='number'] {
-moz-appearance: textfield; /* Firefox */ -moz-appearance: textfield; /* Firefox */
} }
.cm-editor {
height: 100%;
width: 100%;
}
.cm-scroller {
@apply scrollbar-hidden;
}
.cm-editor.cm-focused {
outline: none;
}