|
|
@@ -87,9 +87,11 @@ $text-colors: (
|
|
87
|
87
|
|
|
88
|
88
|
@mixin card {
|
|
89
|
89
|
width: 100%;
|
|
|
90
|
+ max-width: 100%;
|
|
90
|
91
|
margin: 0;
|
|
91
|
92
|
background-color: map-get($colors, card);
|
|
92
|
93
|
border-radius: map-get($sizes, radius);
|
|
|
94
|
+ box-sizing: border-box;
|
|
93
|
95
|
@include shadow;
|
|
94
|
96
|
}
|
|
95
|
97
|
|
|
|
@@ -123,6 +125,9 @@ $text-colors: (
|
|
123
|
125
|
.card-wrap {
|
|
124
|
126
|
@include card;
|
|
125
|
127
|
margin-bottom: 20rpx;
|
|
|
128
|
+ box-sizing: border-box;
|
|
|
129
|
+ max-width: 100%;
|
|
|
130
|
+ overflow: hidden;
|
|
126
|
131
|
|
|
127
|
132
|
&:hover {
|
|
128
|
133
|
@include shadow(2);
|