Skip to content

Commit dc4ddd9

Browse files
committed
fix(tabs): material border-radius not working + move background from tabs header to tab items
1 parent 1cd4636 commit dc4ddd9

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

projects/igniteui-angular/src/lib/core/styles/components/tabs/_tabs-theme.scss

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,23 @@
6161
%tabs-header {
6262
overflow: hidden;
6363
flex: 0 0 auto;
64-
background: var-get($theme, 'item-background');
6564
z-index: 1;
6665

67-
@if $bootstrap-theme {
68-
position: relative;
69-
70-
&::after {
71-
content: '';
72-
position: absolute;
73-
bottom: 0;
74-
inset-inline-start: 0;
75-
width: 100%;
76-
height: rem(1px);
77-
background: var-get($theme, 'border-color');
78-
z-index: 0;
79-
}
80-
}
66+
@if $bootstrap-theme {
67+
position: relative;
68+
background: var-get($theme, 'item-background');
69+
70+
&::after {
71+
content: '';
72+
position: absolute;
73+
bottom: 0;
74+
inset-inline-start: 0;
75+
width: 100%;
76+
height: rem(1px);
77+
background: var-get($theme, 'border-color');
78+
z-index: 0;
79+
}
80+
}
8181
}
8282

8383
%tabs-header-content {
@@ -204,6 +204,7 @@
204204
@if $not-bootstrap-theme {
205205
transition: all .3s $tabs-animation-function;
206206
border: rem(1px) solid var-get($theme, 'border-color');
207+
border-radius: var-get($theme, 'border-radius');
207208

208209
&:hover,
209210
&:focus {

0 commit comments

Comments
 (0)