refac: styling

This commit is contained in:
Timothy J. Baek 2024-06-10 17:22:44 -07:00
parent 8b1e2ce279
commit 12a04b118f

View File

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