indiana-university / rivet-source

Indiana University’s design system for web application development
https://rivet.iu.edu
BSD 3-Clause "New" or "Revised" License
54 stars 4 forks source link

Removed right margin from button-like component text #740

Closed scottanthonymurray closed 5 months ago

scottanthonymurray commented 8 months ago

The 2.6.0 release added a gap property to Rivet buttons, which added space between button text and icons. Two components, the dropdown and file input, had margin-right styles to add this gap, resulting in a doubling up of space between text and icons.

This PR removes the unneeded margin-right styles from the file input button text and dropdown toggle text.