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; }