Improve feature image aspect ratio on small screens
This commit is contained in:
parent
e8eaecd4e9
commit
efbc59f5d0
@ -1372,8 +1372,9 @@ Media queries are used to make the website responsive and cool on mobile.
|
|||||||
|
|
||||||
the image has to be 42.8% wide to be 21:9.
|
the image has to be 42.8% wide to be 21:9.
|
||||||
|
|
||||||
|
we decided to go for 50% to be a little generous on small screens (21 : 9 looks good but 21 : 10 is good too).
|
||||||
*/
|
*/
|
||||||
max-height: 42.857vw;
|
max-height: 50vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-gallery-image {
|
.kg-gallery-image {
|
||||||
|
Loading…
Reference in New Issue
Block a user