xiebeibei před 4 roky
rodič
revize
6074f98aec
1 změnil soubory, kde provedl 11 přidání a 7 odebrání
  1. 11 7
      src/components/edit/left_toolbar.vue

+ 11 - 7
src/components/edit/left_toolbar.vue

@@ -444,7 +444,7 @@ export default {
   },
   mounted() {
     const ele = document.getElementById("drawer-model");
-    ele.style.width = "256px";
+    ele.style.width = "270px";
     this.getBus();
   },
   created() {
@@ -480,6 +480,10 @@ export default {
 }
 /deep/ .ant-drawer-body {
   height: 100% !important;
+  padding: 12px;
+}
+/deep/ .ant-drawer-content-wrapper{
+  width: 270px !important;
 }
 #left_toolbar {
   min-width: 80px;
@@ -637,7 +641,7 @@ export default {
           display: flex;
           flex-wrap: wrap;
           li {
-            width: 67px;
+            width: 82px;
             height: 60px;
             display: flex;
             justify-content: center;
@@ -650,13 +654,13 @@ export default {
               border-radius: 5px;
             }
             .item {
-              width: 54px;
-              height: 32px;
+              width: 30px;
+              height: 22px;
               margin: 0 auto;
             }
             .item-Image {
-              width: 28px;
-              height: 28px;
+              width: 18px;
+              height: 18px;
               margin: 0 auto;
             }
             .item-Line {
@@ -673,7 +677,7 @@ export default {
             }
             .text {
               width: 100%;
-              padding: 0 4px;
+              padding:6px 2px 0;
               font-size: 12px;
               text-align: center;
               overflow: hidden;