mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(card): remove calculated width to work with dynamic margin
fixes #15223
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user