Skip to content

Commit 8a560d2

Browse files
committed
refactor: tab 高度使用变量
1 parent 18cfc6d commit 8a560d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@
486486

487487
.tabs-chrome > .tabs-header,
488488
.tabs-capsule > .tabs-header {
489+
--bb-tabs-header-height: 36px;
489490
--bb-tabs-header-bg-color: var(--bs-border-color);
490491
--bb-tabs-item-hover-bg-color: rgba(var(--bs-body-color-rgb), 0.1);
491492
--bb-tabs-item-active-bg-color: var(--bs-body-bg);
@@ -621,7 +622,7 @@
621622
border: none !important;
622623
border-top-left-radius: 10px;
623624
border-top-right-radius: 10px;
624-
height: 36px !important;
625+
height: var(--bb-tabs-header-height) !important;
625626

626627
.tabs-item-body {
627628
margin-bottom: 4px;

0 commit comments

Comments
 (0)