-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDI icons wrong size and position in Safari #47
Comments
@slipx06 is this only happening for safari? Any other browsers like brave, firefox etc? I don't own apple products so cannot reproduce |
@Pho3niX90 only seems to be a problem with Safari https://stackoverflow.com/questions/51313873/svg-foreignobject-not-working-properly-on-safari |
@slipx06 it seems this might be related to safari 16.3? |
I will see if I can maybe emulate safari |
Thanks. It only becomes a problem if you are using mdi icons in the card. In other words load1_icon: mdi: example etc I think there must be a better way of rendering the icon inside the SVG. I'll also take another look |
There is an issue with the way Safari renders the foreignObject element which I use to display the mdi icons. This affects their position and size. I don't know how to fix this so for now the work around is to use another browser or use the built in icon presets.
The text was updated successfully, but these errors were encountered: