فهرست منبع

fix: use max-height to replace height for better vertical-align (#1919)

绯一 7 سال پیش
والد
کامیت
0e3c49390a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/Charts/Pie/index.less

+ 1 - 1
src/components/Charts/Pie/index.less

@@ -61,7 +61,7 @@
     left: 50%;
     top: 50%;
     text-align: center;
-    height: 62px;
+    max-height: 62px;
     transform: translate(-50%, -50%);
     & > h4 {
       color: @text-color-secondary;