From 79d50eaf43997d59d1d6a31c0d82163afb1df672 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 29 Apr 2020 20:20:55 +0800 Subject: [PATCH] style(NoticeBar): improve text size adjust (#6177) --- src/notice-bar/index.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/notice-bar/index.less b/src/notice-bar/index.less index f7dad9211..0ded50105 100644 --- a/src/notice-bar/index.less +++ b/src/notice-bar/index.less @@ -24,8 +24,10 @@ &__wrap { position: relative; + display: flex; flex: 1; - height: @notice-bar-line-height; + align-items: center; + height: 100%; overflow: hidden; }