Переглянути джерело

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

绯一 7 роки тому
батько
коміт
f131b5024e
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;