unimelb / unimelb-design-system

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

Improve button with icon #828

Open axelboc opened 7 years ago

axelboc commented 7 years ago

Buttons with icons either before or after the text are used in many sites, so it would be nice to have an official, clean, flexible implementation for them.

screen shot 2017-03-08 at 11 50 05 am screen shot 2017-03-08 at 11 49 48 am
waitingallday commented 7 years ago

http://web.unimelb.edu.au/components/icons/#buttons ?

axelboc commented 7 years ago

Ah yeah! Forgot about this one, sorry :D

But it doesn't support other button styles, and doesn't seem to be very flexible (note the vertical alignment):

screen shot 2017-03-08 at 11 58 26 am