From fbbedf439ed8ae8a8a58e28ca5a93927275a9e9a Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Sun, 20 Apr 2014 21:51:59 +0200 Subject: [PATCH] google maps fixing --- css/01-base.css | 1 + css/09-booleans.css | 3 +++ less/01-base.less | 3 ++- less/09-booleans.less | 3 +++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/css/01-base.css b/css/01-base.css index dd6aa2e..c1ea17c 100644 --- a/css/01-base.css +++ b/css/01-base.css @@ -23,6 +23,7 @@ ul.unstyled { list-style: none; } img { + height: auto; vertical-align: middle; border: 0; } diff --git a/css/09-booleans.css b/css/09-booleans.css index ea89333..483eac5 100644 --- a/css/09-booleans.css +++ b/css/09-booleans.css @@ -1,4 +1,7 @@ /* Google Gmap3 bug fix on images */ +.gm-style img { + height: 100%; +} :not(.gm-style) img { height: auto; } diff --git a/less/01-base.less b/less/01-base.less index 6482597..d1faff5 100644 --- a/less/01-base.less +++ b/less/01-base.less @@ -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 */ diff --git a/less/09-booleans.less b/less/09-booleans.less index 96af60b..2af13af 100644 --- a/less/09-booleans.less +++ b/less/09-booleans.less @@ -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; }