Просмотр исходного кода

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

绯一 7 лет назад
Родитель
Сommit
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;