Skip to content

Commit 6c823c1

Browse files
added a css selector pattern for tab buttons
1 parent 652d49b commit 6c823c1

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/Components/Tabnav/Tabnav.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ PUNICA CSS > COMPONENTS : TABNAV *********************/
1111
align-items: flex-start;
1212
border-bottom: $tabnav-border-bottom-width $main-border-style $main-secondary-bg;
1313
padding: 0;
14-
.#{$button-class-group} {
14+
&>.#{$button-class-group} {
1515
box-shadow: none;
1616
border-radius: 0;
1717
}
18-
.#{$button-class},
19-
a.#{$button-class},
20-
.#{$dropdown-name} .#{$button-class},
21-
.#{$dropdown-name} a.#{$button-class} {
18+
&>.#{$button-class},
19+
&>.#{$button-class-group} > .#{$button-class},
20+
&>a.#{$button-class},
21+
&>.#{$button-class-group} > a.#{$button-class},
22+
&>.#{$dropdown-name} > .#{$button-class},
23+
&>.#{$button-class-group} > .#{$dropdown-name} > .#{$button-class},
24+
&>.#{$dropdown-name} > a.#{$button-class},
25+
&>.#{$button-class-group} > .#{$dropdown-name} > a.#{$button-class} {
2226
background: transparent;
2327
border: none;
2428
border-bottom: $tabnav-border-bottom-width solid transparent;

0 commit comments

Comments
 (0)