Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit a62f6ac

Browse files
TedSandernshahan
authored andcommitted
Remove legacy style encapsulation from material-button
Requires adding more specificity to the padding rule when the button is included inside of a component. PiperOrigin-RevId: 259352206
1 parent 958bb0c commit a62f6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular_components/lib/material_button/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ $button-disabled-background-dark: rgba(255, 255, 255, $mat-divider-opacity);
335335
/// }
336336
/// ```
337337
@mixin button-padding($padding) {
338-
::ng-deep .content.content {
338+
::ng-deep .content.content.content {
339339
padding: $padding;
340340
}
341341
}

0 commit comments

Comments
 (0)