fix(theme-chalk): [tab] correct padding of card item on hover (#11283)

* fix(theme-chalk): [tab] correct padding of card item on hover
This commit is contained in:
dopamine
2023-03-01 22:49:25 +08:00
committed by GitHub
parent 0c694f47c8
commit 18644cf373

View File

@@ -299,9 +299,15 @@
> .#{$namespace}-tabs__header {
.#{$namespace}-tabs__item:nth-child(2) {
padding-left: 20px;
&:not(.is-active).is-closable:hover {
padding-left: 13px;
}
}
.#{$namespace}-tabs__item:last-child {
padding-right: 20px;
&:not(.is-active).is-closable:hover {
padding-right: 13px;
}
}
}
}