Browse Source

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

绯一 7 năm trước cách đây
mục cha
commit
0e3c49390a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;