Browse Source

fix: icon button 过小的bug

ChenYangfan 6 years ago
parent
commit
2e252d86f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Basic/IconButton.vue

+ 1 - 1
src/components/Basic/IconButton.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="icon-button" :class="classList" :title="title ? title : ''" @click="$emit('click')" :style="style">
-    <c-icon :theme="theme" :bold="!noBold" :size="size ? size / 1.6 - 6 : 26">
+    <c-icon :theme="theme" :bold="!noBold" :size="size ? size / 1.4 - 4 : 26">
       <slot></slot>
     </c-icon>
     <ripple></ripple>