Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

馃悰 fix IE11 bugs and styles #724

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

kevinansfield
Copy link
Collaborator

closes TryGhost/Ghost#8384

  • fixes image uploads on settings/general by reverting to jQuery for triggering the file dialog because IE11 doesn't support MouseEvent events or have the .closest method on native DOM elements
  • gives all SVG elements an explicit width and height - if one property is set to auto or not specified IE11 will treat it as 100% of the container
  • fixes horizontal scroll + scrollbar on the main app viewport

closes TryGhost/Ghost#8384
- fixes image uploads on settings/general by reverting to jQuery for triggering the file dialog because IE11 doesn't support `MouseEvent` events or have the `.closest` method on native DOM elements
- gives all SVG elements an explicit `width` and `height` - if one property is set to `auto` or not specified IE11 will treat it as 100% of the container
- fixes horizontal scroll + scrollbar on the main app viewport
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 72.885% when pulling d7fcfa9 on kevinansfield:ie11-fixes into 9069318 on TryGhost:master.

@kirrg001 kirrg001 merged commit 43a1811 into TryGhost:master Jun 1, 2017
kevinansfield added a commit to kevinansfield/Ghost-Admin that referenced this pull request Jul 10, 2017
closes TryGhost/Ghost#8665
- updates width/height for non-square icons to match the desired dimensions (width+height have to be specified for IE11)

Changes introduced in TryGhost#724 failed to take into account a few of our icons are not square (notably the `arrow-*-small.svg` icons) resulting in some icons appearing too small.
kirrg001 pushed a commit that referenced this pull request Jul 10, 2017
closes TryGhost/Ghost#8665

- updates width/height for non-square icons to match the desired dimensions (width+height have to be specified for IE11)

Changes introduced in #724 failed to take into account a few of our icons are not square (notably the `arrow-*-small.svg` icons) resulting in some icons appearing too small.
@kevinansfield kevinansfield deleted the ie11-fixes branch June 4, 2018 10:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants