From 0e3c49390a9ef0637681d9f1ab9d1671d77c6867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=AF=E4=B8=80?= Date: Wed, 25 Jul 2018 16:54:44 +0800 Subject: [PATCH] fix: use max-height to replace height for better vertical-align (#1919) --- src/components/Charts/Pie/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Charts/Pie/index.less b/src/components/Charts/Pie/index.less index 277274cd..7249d093 100644 --- a/src/components/Charts/Pie/index.less +++ b/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; -- GitLab