mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
Fix image resizing to be proportional
Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
This commit is contained in:
parent
6da5f9dd10
commit
77d3601375
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
.pure-g-r img {
|
.pure-g-r img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 980px) {
|
@media (min-width: 980px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user