Skip to content

Buttons horizontal size was hardcoded in JS (fix #180) #181

Merged
merged 1 commit into from Sep 5, 2013

3 participants

@Grsmto
Grsmto commented Sep 4, 2013

It uses 'display: inline-block' css property so it should not work on IE6/7 (as I didn't tested it I couldn't provide a conditional alternative, i'll do it later if pr is ok).
So, buttons can now contain any text length (for i18n) without breaking.

@jacobtoye
Leaflet member

Awesome thanks :) I'll add a inline-block fix to the IE stylesheet.

@jacobtoye jacobtoye merged commit 39fce3c into Leaflet:master Sep 5, 2013
@Grsmto Grsmto deleted the Grsmto:buttons-size-i18n branch Sep 5, 2013
@jacobtoye jacobtoye added a commit that referenced this pull request Sep 5, 2013
@jacobtoye jacobtoye Removing unused variable. refs #181 25bd228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.