Skip to content

Commit

Permalink
feat(chips): Add elevation overlay structure (material-components#5279)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrodee authored Nov 27, 2019
1 parent e89750d commit 3e560b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/mdc-chips/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ $mdc-chip-ripple-target: ".mdc-chip__ripple";
@include mdc-chip-trailing-icon-size($mdc-chip-trailing-icon-size, $query: $query);
@include mdc-chip-trailing-icon-margin($query: $query);
@include mdc-touch-target-wrapper($query);
@include mdc-elevation-overlay-common($query);

.mdc-chip {
@include mdc-chip-shape-radius(50%, $query: $query);
Expand All @@ -64,10 +65,12 @@ $mdc-chip-ripple-target: ".mdc-chip__ripple";
@include mdc-typography(body2, $query: $query);
@include mdc-chip-density($density-scale: 0, $query: $query);
@include mdc-chip-leading-icon-margin($query: $query);
@include mdc-elevation-overlay-surface-position($query: $query);
@include mdc-elevation-overlay-size(100%, $query: $query);

@include mdc-feature-targets($feat-structure) {
display: inline-flex;
position: relative;
// position: relative; already set in mdc-elevation-overlay-surface-position
align-items: center;
box-sizing: border-box;
padding: 0 $mdc-chip-horizontal-padding;
Expand Down

0 comments on commit 3e560b3

Please sign in to comment.