File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
src/material/button-toggle Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ $_standard-tokens: (
386386 @include token-utils .create-token-slot (--mat-focus-indicator-border-radius , shape);
387387 }
388388
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 {
390390 & :last-of-type .mat-button-toggle-button ::before {
391391 @include token-utils .create-token-slot (border-top-right-radius , shape);
392392 @include token-utils .create-token-slot (border-bottom-right-radius , shape);
@@ -397,4 +397,16 @@ $_standard-tokens: (
397397 @include token-utils .create-token-slot (border-bottom-left-radius , shape);
398398 }
399399 }
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+ }
400412}
You can’t perform that action at this time.
0 commit comments