Skip to content

Commit

Permalink
Try: Tab style subpixel fix. (#42892)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored Aug 2, 2022
1 parent 3cfc058 commit 9171278
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@
justify-content: space-between;
align-items: center;
padding: 0 $grid-unit-20;
height: $grid-unit-60;
border-bottom: $border-width solid $gray-300;

// This helps ensure the correct panel height, including the border, avoiding subpixel rounding issues.
box-sizing: content-box;
height: $grid-unit-60 - $border-width;

h2 {
margin: 0;
font-size: inherit;
Expand Down

0 comments on commit 9171278

Please sign in to comment.