File tree 1 file changed +13
-1
lines changed
src/material/button-toggle
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ $_standard-tokens: (
386
386
@include token-utils .create-token-slot (--mat-focus-indicator-border-radius , shape);
387
387
}
388
388
389
- .mat-button-toggle-group-appearance-standard .mat-button-toggle {
389
+ .mat-button-toggle-group-appearance-standard :not ( .mat-button-toggle-vertical ) .mat-button-toggle {
390
390
& :last-of-type .mat-button-toggle-button ::before {
391
391
@include token-utils .create-token-slot (border-top-right-radius , shape);
392
392
@include token-utils .create-token-slot (border-bottom-right-radius , shape);
@@ -397,4 +397,16 @@ $_standard-tokens: (
397
397
@include token-utils .create-token-slot (border-bottom-left-radius , shape);
398
398
}
399
399
}
400
+
401
+ .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle {
402
+ & :last-of-type .mat-button-toggle-button ::before {
403
+ @include token-utils .create-token-slot (border-bottom-right-radius , shape);
404
+ @include token-utils .create-token-slot (border-bottom-left-radius , shape);
405
+ }
406
+
407
+ & :first-of-type .mat-button-toggle-button ::before {
408
+ @include token-utils .create-token-slot (border-top-right-radius , shape);
409
+ @include token-utils .create-token-slot (border-top-left-radius , shape);
410
+ }
411
+ }
400
412
}
You can’t perform that action at this time.
0 commit comments