fix card image scaling problem

This commit is contained in:
Juraj Michalek
2014-12-28 09:14:36 +00:00
parent 7eb7cc83ad
commit aa9bff09b6
2 changed files with 10 additions and 2 deletions

View File

@@ -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;