mirror of
https://github.com/pure-css/pure.git
synced 2024-12-10 23:44:26 +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