juliushaertl / direct_menu

Nextcloud/OwnCloud app to provide easy access to all apps in the header
GNU Affero General Public License v3.0
17 stars 8 forks source link

icon size too big in internet explorer #7

Closed hele333 closed 8 years ago

hele333 commented 9 years ago

works perfekt in firefox and opera, but using the IE 11, the icons don't fit in the bar, they are too big, and not all can be seen.

The hover does also not work.

direct menue ie error

TheAgentK commented 9 years ago

The IE has some Problemes with scaling the SVG Icons to the right size.

I made a workaround for this. https://github.com/TheAgentK/direct_menu

I change the SVG Files in the IW with the png files in the IE.

mdusher commented 9 years ago

I've just tested this out and I believe it's because the SVG files do not have a viewBox property. From what I can gather IE requires the viewBox property in the SVG file for the image to scale properly.

juliushaertl commented 8 years ago

As the pull request by @TheAgentK is merged now, this issue should be fixed. Can somebody prove, because I don't have an IE around at the moment.

juliushaertl commented 8 years ago

Seems to work in IE11 and the fix was also confirmed here: https://apps.owncloud.com/content/show.php?content=169148#c479653