Skip to content

Commit

Permalink
Address review comments and fix close button height
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Jan 3, 2024
1 parent ecd8a57 commit 6994780
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/components/src/navigation/NavTabList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ $tab-control-btn-offset: -8px;
flex-shrink: 0;

.nav-tabs {
--dragging-ant-color: $gray-300;

border: none;
height: $tab-height;
font-size: $tab-font-size;
Expand All @@ -38,7 +36,6 @@ $tab-control-btn-offset: -8px;
}

.btn-nav-tab {
// border: $tab-drag-border-width solid transparent;
line-height: $tab-height - $tab-drag-border-width * 2; // subtract top and bottom borders, and focus border
width: auto;
max-width: 200px;
Expand All @@ -54,6 +51,7 @@ $tab-control-btn-offset: -8px;

.btn-nav-tab-close {
position: absolute;
height: 20px;
line-height: $tab-font-size;
right: 0.25rem;
bottom: 6px;
Expand Down

0 comments on commit 6994780

Please sign in to comment.