Skip to content

Commit d58db5d

Browse files
crisbetovivian-hu-zz
authored andcommitted
fix(button-toggle): not setting proper border in vertical mode (#13397)
Looks like something that slipped through when refactoring the previous PR to support multiple appearances. The selector that was supposed to set the proper borders in vertical mode was incorrect.
1 parent 6ee9149 commit d58db5d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/lib/button-toggle/_button-toggle-theme.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@
4444
border-right: solid 1px $divider-color;
4545
}
4646

47-
.mat-button-toggle-vertical-appearance-standard .mat-button-toggle + .mat-button-toggle {
48-
border-left: none;
49-
border-right: none;
50-
border-top: solid 1px $divider-color;
47+
.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical {
48+
.mat-button-toggle + .mat-button-toggle {
49+
border-left: none;
50+
border-right: none;
51+
border-top: solid 1px $divider-color;
52+
}
5153
}
5254

5355
.mat-button-toggle-checked {

0 commit comments

Comments
 (0)