NUKnightLab / StoryMapJS

Maps that tell stories.
https://storymap.knightlab.com/
Other
177 stars 48 forks source link

Remove or update CSS zoom property #452

Open JoeGermuska opened 3 years ago

JoeGermuska commented 3 years ago

Via Zendesk, we received this request:

as Firefox warns, please change the css »zoom:1« to «transform:scale(1);transform-origin: 0 0«

zoom is not a standard CSS property, so this change should be made.

All references to the zoom property seem caught up in very old IE support, and in some cases, use "the star hack". They should probably simply be removed rather than updated to use transform

https://github.com/NUKnightLab/StoryMapJS/blob/34d8150c1743ea9f86820e687cb485a0e67111c5/source/less/map/leaflet/VCO.Leaflet.IE.less#L31 https://github.com/NUKnightLab/StoryMapJS/blob/34d8150c1743ea9f86820e687cb485a0e67111c5/source/less/core/Mixins.less#L117 https://github.com/NUKnightLab/StoryMapJS/blob/34d8150c1743ea9f86820e687cb485a0e67111c5/source/less/core/Reset.less#L46