소스 검색

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;