thomas-lowry / figma-plugin-ds

A small lightweight design system for use in Figma Plugins
MIT License
693 stars 71 forks source link

Add a "flex: none" to the icon when is inside the Onboarding Tip #40

Closed didoo closed 3 years ago

didoo commented 4 years ago

https://github.com/thomas-lowry/figma-plugin-ds/blob/e1acbac7a56937b784b34366bcd7ca7386280253/dist/figma-plugin-ds.css#L1527-L1529

The icon should have a flex none applied to it, when is inside the Onboarding Tip:

.onboarding-tip .icon {
  flex: none;
}

otherwise when the Onboarding Tip is used in a small horizontal container and the text is long, the icon collapses its size.

thomas-lowry commented 3 years ago

Updated this today! Thank you!