Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-08-18 13:39:41 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
python_manual_unwind
notifications-admin/app/assets/images/folder-black-bold.svg

2 lines
247 B
XML
Raw Permalink Normal View History

Fix hover folder icon in IE10/11 Duplicates e0ecc95ac634a6a300d919af59d5364b464ce2fd Copies the code from the normal folder icon, and manually tweaks the colour, to also get the benefits of minification. *** IE 10 supports using SVG[1] but has some buggy behaviour when they’re used as background images. Without an explicit width/height it stretches the viewBox of the SVG to fill the containing element. This causes the content of the file to display centered within the viewBox. Explicitly setting the width and height seems to be the thing that fixes this. Out of the suggested fixes on Stackoverflow[2] this one seems to be the most straightforward. 1. https://caniuse.com/#feat=svg 2. https://stackoverflow.com/questions/17944354/svg-background-image-position-is-always-centered-in-internet-explorer-despite-b
2019-02-05 10:21:08 +00:00
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="20" viewBox="0 0 26 20"><path fill="#dee0e2" d="M1.2 18.8V1.3h8.4l1.5 4h13.7v13.5z"/><path d="M8.8 2.5l.9 2.4.6 1.6h13.2v11h-21v-15h6.3M10.5 0H0v20h26V4H12l-1.5-4z" fill="#0B0C0C"/></svg>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1236ms Template: 23ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API