Skip to content

Commit

Permalink
fix(card): remove calculated width to work with dynamic margin
Browse files Browse the repository at this point in the history
fixes #15223
  • Loading branch information
brandyscarney committed Aug 20, 2018
1 parent 5989f15 commit 059d365
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/src/components/card/card.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
@include margin($card-ios-margin-top, $card-ios-margin-end, $card-ios-margin-bottom, $card-ios-margin-start);
@include border-radius($card-ios-border-radius);

width: calc(100% - #{($card-ios-margin-end + $card-ios-margin-start)});

transform: translateZ(0);

font-family: $card-ios-font-family;
Expand Down
2 changes: 0 additions & 2 deletions core/src/components/card/card.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
@include margin($card-md-margin-top, $card-md-margin-end, $card-md-margin-bottom, $card-md-margin-start);
@include border-radius($card-md-border-radius);

width: calc(100% - #{($card-md-margin-end + $card-md-margin-start)});

font-family: $card-md-font-family;
font-size: $card-md-font-size;

Expand Down

0 comments on commit 059d365

Please sign in to comment.