canonical / design-vanilla-framework

Design components for Vanilla Framework.
https://vanillaframework.io
GNU General Public License v3.0
62 stars 11 forks source link

Buttons in UI Kit broken #428

Closed kwm14 closed 4 years ago

kwm14 commented 4 years ago

Describe the bug Buttons not retaining there left and right margins when adding any length of copy to any button styles.

As @hughesjordan raised recently this is due to Sketch upgrade not syncing with Anima, the layout plugin we're using in our library.

Expected behavior When adding any length of the text, button margins left and right should be consistent.

Screenshots buttons

kwm14 commented 4 years ago

After much research and exploring different layouts I've finally fixed the issue. Phew! 💯