Fixed image height in IE11

This commit is contained in:
Anton Gunov
2017-08-06 14:29:31 +07:00
parent c791835586
commit aa054dc620

View File

@@ -39,9 +39,12 @@
display: inline-block; /* 3 */
padding: 1rem;
$image-size: 7rem - 1rem * 2;
img {
display: block; /* 1 */
max-width: 7rem - 1rem * 2;
max-height: $image-size;
max-width: $image-size;
}
}