google maps fixing

This commit is contained in:
Raphael Goetter 2014-04-20 21:51:59 +02:00
parent e6da229b19
commit fbbedf439e
4 changed files with 9 additions and 1 deletions

View file

@ -23,6 +23,7 @@ ul.unstyled {
list-style: none;
}
img {
height: auto;
vertical-align: middle;
border: 0;
}

View file

@ -1,4 +1,7 @@
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
:not(.gm-style) img {
height: auto;
}

View file

@ -27,6 +27,7 @@ ul.unstyled {
list-style: none;
}
img {
height: auto;
vertical-align: middle;
border: 0;
}
@ -58,7 +59,7 @@ body {
color: @basecolor;
font-family: @fontstack1;
font-size: unit((@basefont / 10), em);
line-height: @lh; // adapt to your design
line-height: @lh;
}
/* font-sizing for content */

View file

@ -3,6 +3,9 @@
// google maps boolean
& when (@gmaps = true) {
/* Google Gmap3 bug fix on images */
.gm-style img {
height: 100%;
}
:not(.gm-style) img {
height: auto;
}