浏览代码

refac: styling

Timothy J. Baek 11 月之前
父节点
当前提交
12a04b118f
共有 1 个文件被更改,包括 21 次插入9 次删除
  1. 21 9
      src/app.css

+ 21 - 9
src/app.css

@@ -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;
+}