Skip to content

Commit

Permalink
fix: rounded corners on shadow of button group
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed Apr 5, 2023
1 parent 5b4a9ff commit dd3c405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/button/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use '@material/feature-targeting/feature-targeting';
@use '@material/ripple/index' as ripple;
@use '@material/button/index' as mdc-button;
@use '@material/shape/index' as shape;
@use '@material/theme/theme-color';
@use '@material/elevation/mixins' as mdc-elevation;

Expand Down Expand Up @@ -90,6 +91,7 @@ $ripple-target: '.mdc-button__ripple';
}

&.smui-button__group--raised {
@include shape.radius(small, false, $query: $query);
@include mdc-elevation.elevation(2, $query: $query);
}

Expand Down
1 change: 1 addition & 0 deletions packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@material/elevation": "^14.0.0",
"@material/feature-targeting": "^14.0.0",
"@material/ripple": "^14.0.0",
"@material/shape": "^14.0.0",
"@material/theme": "^14.0.0",
"@smui/common": "^7.0.0-beta.1",
"@smui/ripple": "^7.0.0-beta.1",
Expand Down

0 comments on commit dd3c405

Please sign in to comment.