Przeglądaj źródła

update components

afc163 8 lat temu
rodzic
commit
3cc8570ea2

+ 8 - 6
src/components/Charts/demo/mini-pie.md

@@ -9,11 +9,13 @@ title: 迷你饼状图
 import { Pie } from 'ant-design-pro/lib/Charts';
 
 ReactDOM.render(
-  <Pie
-    percent={28}
-    subTitle="中式快餐"
-    total="28%"
-    height={129}
-  />
+  <div style={{ width: 200, display: 'inline-block' }}>
+    <Pie
+      percent={28}
+      subTitle="中式快餐"
+      total="28%"
+      height={130}
+    />
+  </div>
 , mountNode);
 ````

+ 1 - 0
src/components/TagSelect/index.less

@@ -13,6 +13,7 @@
     .ant-tag {
       padding: 0 8px;
       margin-right: 24px;
+      font-size: @font-size-base;
     }
   }
   &.expanded {