Skip to content

Commit 915a2b7

Browse files
josephperrotttinayuangao
authored andcommitted
fix(button): hide overflow of buttons to prevent overflow of hover/ripple (#9424)
1 parent 981c9a9 commit 915a2b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/button/_button-base.scss

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ $mat-mini-fab-padding: 8px !default;
3434
// Applies base styles to all button types.
3535
@mixin mat-button-base {
3636
box-sizing: border-box;
37+
overflow: hidden;
3738
position: relative;
3839

3940
// Reset browser <button> styles.

0 commit comments

Comments
 (0)