Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Lots of responsive themes will add something like this (img max-width 100%) to their CSS to enable flexible images, while its their bad and easily fixed with:
.gmap img {
max-width: none;
}
It could possibly be worth adding this to gmap.css, being a one line fix and probably saving a few bug reports to deal with. We ran into this in Adaptivetheme over here: #1297980: img max-width 100% breaks map displays - gmap, getlocations, openlayers
I'm adding the fix to our base theme, but I know of at least 3 or 4 other themes doing the max width trick including Zen 7.5 afaik.
Cheers.
Comment | File | Size | Author |
---|---|---|---|
#4 | gmap-img_max_width_100_breaks_firefox-1298800-1.patch | 278 bytes | hkirsman |
Comments
Comment #1
sunshinee CreditAttribution: sunshinee commented+1 for this request. I just spent a couple of hours searching Drupal.org to find such a simple solution.
Comment #2
eltioseba CreditAttribution: eltioseba commentedWow, thanks for that one.
I was having problems using Zen 7,5x (google map display as gray).
Comment #3
Zach Harkey CreditAttribution: Zach Harkey commented+1 for adding this to gmap.css
Comment #4
hkirsman CreditAttribution: hkirsman commentedHere's the same thing in .patch file.
I added comment and important declaration.
Tested in FF 10 and FF 13.0.1
Comment #5
podarok#4
needs reroll against latest head
Comment #6
hkirsman CreditAttribution: hkirsman commentedYou've commited it in another issue. I opened it up again because there's a typo: http://drupal.org/node/463160#comment-6692312
Comment #7
podarok#6 fixed in 6.x and 7.x branches
thanks!
Comment #8.0
(not verified) CreditAttribution: commentedbad English, cleaning up