mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 14:13:06 +00:00
Remove IE10 and old Firefox hacks from SVG framework
This commit is contained in:
parent
5532089ae9
commit
6cb69b558d
@ -46,7 +46,7 @@ export function renderIcon(
|
||||
|
||||
// Generate SVG as string
|
||||
const html =
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="' +
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="' +
|
||||
className +
|
||||
'">' +
|
||||
replaceIDs(data.body) +
|
||||
@ -67,7 +67,6 @@ export function renderIcon(
|
||||
});
|
||||
|
||||
// Add custom styles
|
||||
svgStyle.transform = 'rotate(360deg)';
|
||||
if (data.inline) {
|
||||
svgStyle.verticalAlign = '-0.125em';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user