fix: Collapse header style (#28507)

This commit is contained in:
二货机器人 2020-12-23 17:10:03 +08:00 committed by GitHub
parent 7bef3090d8
commit 1c5a3f433b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,9 +35,13 @@
.iconfont-mixin();
position: absolute;
top: ceil(@padding-sm + (@font-size-base * @line-height-base - @font-size-base) / 2);
top: (@font-size-base * @line-height-base - @font-size-sm) / 2;
left: @collapse-header-arrow-left;
display: inline-block;
padding: @collapse-header-padding;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
font-size: @font-size-sm;
& svg {