mirror of
https://github.com/ysoftdevs/pf2015.git
synced 2026-01-18 17:47:28 +01:00
fix card image scaling problem
This commit is contained in:
@@ -72,8 +72,16 @@ flippy.fancy {
|
||||
height: 150px;
|
||||
}
|
||||
flippy.fancy img {
|
||||
width:auto;
|
||||
max-width:100%;
|
||||
height:auto;
|
||||
max-height:100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.cardHelper {
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
flippy.fancy flippy-front {
|
||||
float: none;
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</flippy-front>
|
||||
|
||||
<flippy-back>
|
||||
<img ng-src="img/cards/{{card.cardId}}.png" ng-show="card.cardType == 'picture'">
|
||||
<span class="cardHelper"></span><img ng-src="img/cards/{{card.cardId}}.png" ng-show="card.cardType == 'picture'"></span>
|
||||
<div ng-hide="card.cardType == 'picture'">{{card.card['en-US']}}</div>
|
||||
</flippy-back>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user