unimelb / unimelb-design-system

A complete design system for the University of Melbourne
https://web.unimelb.edu.au
30 stars 12 forks source link

Inject icon label as span instead of div #860

Closed axelboc closed 7 years ago

axelboc commented 7 years ago

Icons are usually marked as span[data-icon], and a div inside a span is not valid HTML.