chiefwigms / picobrew_pico

MIT License
148 stars 63 forks source link

Device icons do not display in Firefox #356

Open Tamont3n opened 2 years ago

Tamont3n commented 2 years ago

The SVG device icons do not display in Firefox (102.0 on Win 11), this seems to be due to FF requiring a height/width being set for SVGs.

Adding a static width attribute, effectively changing the max-width to width, to the the span.equipment-icon style in main.css seems to rectify the issue but might look odd once resized in other browsers. (I've checked in FF and Edge on Win and Safari on iOS both on phone and iPad and it displays fine on them after the change)

chiefwigms commented 2 years ago

go ahead and make a PR...