Skip to content

Commit 18644cf

Browse files
authored
fix(theme-chalk): [tab] correct padding of card item on hover (element-plus#11283)
* fix(theme-chalk): [tab] correct padding of card item on hover
1 parent 0c694f4 commit 18644cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/theme-chalk/src/tabs.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,15 @@
299299
> .#{$namespace}-tabs__header {
300300
.#{$namespace}-tabs__item:nth-child(2) {
301301
padding-left: 20px;
302+
&:not(.is-active).is-closable:hover {
303+
padding-left: 13px;
304+
}
302305
}
303306
.#{$namespace}-tabs__item:last-child {
304307
padding-right: 20px;
308+
&:not(.is-active).is-closable:hover {
309+
padding-right: 13px;
310+
}
305311
}
306312
}
307313
}

0 commit comments

Comments
 (0)