suankularb-wittayalai-school / sk-components

A design system for all Suankularb applications
https://sk-components-demo.mysk.school
0 stars 1 forks source link

Icon Button has too little padding #23

Closed SiravitPhokeed closed 2 years ago

SiravitPhokeed commented 2 years ago

Describe the bug There should be some padding for the state layer of the Icon Button (btn--icon), but not the button itself.

Potential solutions Force the state layer to be a larger percentage of the button, but set the button itself to overflow: visible. Not sure if I understand this property correctly but worth giving a try.