-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add pl and pr classes to button component #603
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Jenkins BuildsClick to see older builds (2)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch 🙏
{ | ||
size: '24', | ||
placement: 'before', | ||
className: 'pl-[6px] pr-2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className: 'pl-[6px] pr-2', | |
className: 'pl-2.5 pr-2', |
{ | ||
size: '24', | ||
placement: 'after', | ||
className: 'pl-2 pr-[6px]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className: 'pl-2 pr-[6px]', | |
className: 'pl-2 pr-2.5', |
I like this solution better because the negative margin is a bit cheeky. Can you add compound variants for when placement is |
why
https://www.figma.com/design/IBmFKgGL1B4GzqD8LQTw6n/Design-System-for-Desktop%2FWeb?node-id=30-827&m=dev
https://www.figma.com/design/IBmFKgGL1B4GzqD8LQTw6n/Design-System-for-Desktop%2FWeb?node-id=30-1190&m=dev