-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
added left padding in filter chip #7800
Conversation
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.
PR Summary
This pull request adds left padding to the SortOrFilterChip component, potentially affecting the spacing and layout of filter chips throughout the application.
- Modified
packages/twenty-front/src/modules/views/components/SortOrFilterChip.tsx
to include a left margin of 8px - The hardcoded 8px value may not align with the existing theme-based spacing system
- Consider the impact on overall layout consistency, especially in different contexts where the chip is used
- Evaluate if this change should be applied universally or if it's addressing a specific use case
1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
@@ -42,6 +42,7 @@ const StyledChip = styled.div<{ variant: SortOrFitlerChipVariant }>` | |||
padding: ${({ theme }) => theme.spacing(0.5) + ' ' + theme.spacing(2)}; | |||
user-select: none; | |||
white-space: nowrap; | |||
margin-left: 8px; |
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.
style: Consider using theme-based spacing for consistency
Welcome!
Hello there, congrats on your first PR! We're excited to have you contributing to this project. |
@SShanks451 thanks for the PR, is there any open issue motivating this change? If yes could you link it? Also, please use the theme instead of a hardcoded pixel value |
@charlesBochet updated the PR...please review |
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.
LGTM :)
Awarding SShanks451: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/SShanks451 |
Fixes: #7779