Skip to content

Commit 5ed55f6

Browse files
luckyCaolzq4047
authored andcommitted
Tabs: left align title when type is card (ElemeFE#15695)
1 parent 8189cf9 commit 5ed55f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/theme-chalk/src/tabs.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
width: 100%;
329329
text-align: center;
330330
cursor: pointer;
331-
331+
332332
i {
333333
transform: rotateZ(90deg);
334334
}
@@ -393,6 +393,7 @@
393393
border-right: 1px solid $--border-color-light;
394394
border-bottom: none;
395395
border-top: 1px solid $--border-color-light;
396+
text-align: left;
396397
}
397398
.el-tabs__item.is-left:first-child {
398399
border-right: 1px solid $--border-color-light;

0 commit comments

Comments
 (0)