Topic on Extension talk:Maps

Maps inside the Foreground skin

4
Christharp (talkcontribs)

HI

I'm absolutely sure this is the wrong place to mention us, but who never know who knows who. Basically I've found a problem with the Map extension and the Foreground skin. The skin seems to suppress the street view option:

(inside Vector)

(inside Foreground)

Kghbln (talkcontribs)

I suppose that is an issue of Foreground dealing with Maps and not vice versa. May be wrong though.

Christharp (talkcontribs)

So the answer was found by thingles:

Here is what is happening... To make the this skin or any skin for that matter, responsive, you need the CSS code:

img { max-width: 100%; height: auto; }

Maps are being written directly as a div container and unfortunately the skin's CSS is the entire site for the img attribute. You will have to add

.gm-style img { max-width: none; }

to Mediawiki:Common.css.

I'll add the note to the front page since this fix should apply to all responsive skins (in theory)

Kghbln (talkcontribs)

Great, thanks for sharing the info with us!

Reply to "Maps inside the Foreground skin"