瀏覽代碼

clean scss

Yuki Takei 2 年之前
父節點
當前提交
cc9bc9cbf9
共有 1 個文件被更改,包括 5 次插入6 次删除
  1. 5 6
      packages/editor/src/components/CodeMirrorEditor/Toolbar/scss/toolbar-button.scss

+ 5 - 6
packages/editor/src/components/CodeMirrorEditor/Toolbar/scss/toolbar-button.scss

@@ -1,10 +1,9 @@
 .btn-toolbar-button {
+  --bs-btn-padding-x: 0;
+  --bs-btn-padding-y: 0;
+  --bs-btn-line-height: 1;
+  --bs-btn-border-width: 0;
+
   width: 24px !important;
   height: 24px !important;
-  padding: 0 !important;
-  font-size: 1rem !important;
-  line-height: 1 !important;
-  text-align: center !important;
-
-  border: 0;
 }