Browse Source

style: 修改svg样式

Frans 6 years ago
parent
commit
05c9cede66

+ 1 - 0
src/packages/icon/icon.scss

@@ -5,6 +5,7 @@
     height: 20px;
     color:$title-color;
     svg {
+        vertical-align: top;
         width:100%;
         height:100%;
         fill: currentColor;

+ 1 - 0
src/packages/imagepicker/imagepicker.scss

@@ -38,6 +38,7 @@
                 height:20px;
                 color:$primary-color;
                 svg{
+                    vertical-align: top;
                     fill:currentColor;
                 }
             }

+ 1 - 0
src/packages/noticebar/noticebar.scss

@@ -35,6 +35,7 @@
         box-sizing: border-box;
         padding-left: 5px;
         svg {
+            vertical-align: top;
             width: 12px;
             height: 12px;
             fill: rgba(211, 125, 066, 1);

+ 2 - 0
src/packages/stepper/stepper.scss

@@ -66,6 +66,7 @@
         align-items: center;
         justify-content: center;
         svg{
+            vertical-align: top;
             width: $stepperbar-width;
             fill: $stepperbar-color;
         }
@@ -85,6 +86,7 @@
     .nut-stepper-grey{
         color: #ececee;
         svg{
+            vertical-align: top;
             fill: #cecece!important;
         }
     }

+ 1 - 0
src/packages/textinput/textinput.scss

@@ -29,6 +29,7 @@
         width: 20px;
 
         svg {
+            vertical-align: top;
             fill: #999999;
         }
     }