Skip to content

Commit 77f2683

Browse files
committed
fix(.tabs-icon-*): only work on directly descendant tabs
Closes #1261
1 parent ade143e commit 77f2683

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scss/_tabs.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@
157157
}
158158
}
159159

160-
.tabs-icon-left .tab-item .icon {
160+
.tabs-icon-left > .tabs .tab-item .icon {
161161
padding-right: 3px;
162162
}
163163

164-
.tabs-icon-right .tab-item .icon {
164+
.tabs-icon-right > .tabs .tab-item .icon {
165165
padding-left: 3px;
166166
}
167167

168-
.tabs-icon-only .icon {
168+
.tabs-icon-only > .tabs .icon {
169169
line-height: inherit;
170170
}
171171

0 commit comments

Comments
 (0)