Skip to content

Commit

Permalink
fix(comp:header): change bar height (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
threedayAAAAA committed Jan 16, 2024
1 parent e7efca8 commit 972bd64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/header/style/index.less
Expand Up @@ -153,15 +153,15 @@
}

.header-size(@height, @font-size, @padding) {
@bar-height: calc(@font-size + 2px);
@bar-height: calc(@font-size - 2px);

.reset-font-size(@font-size);

min-height: @height;

&.@{header-prefix}-with-bar {
&::before {
margin-top: calc((@height - @bar-height) / 2);
margin: auto 0;
height: @bar-height;
}
}
Expand Down

0 comments on commit 972bd64

Please sign in to comment.