Skip to content
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

Make tag items shorter (32px) #235

Merged
merged 1 commit into from
Dec 4, 2020
Merged

Make tag items shorter (32px) #235

merged 1 commit into from
Dec 4, 2020

Conversation

winkerVSbecks
Copy link
Collaborator

No description provided.

@winkerVSbecks winkerVSbecks added the patch Increment the patch version when merged label Dec 3, 2020
@winkerVSbecks winkerVSbecks requested a review from domyen December 3, 2020 20:07
@@ -21,7 +21,7 @@ export const TagItem = styled.div.attrs<TagItemProps>(({ isLoading, children })
display: inline-block;
background: ${background.app};
border-radius: ${spacing.borderRadius.small}px;
padding: 5px 10px;
padding: 4px 10px 2px 10px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change to padding: 4px 10px and adjust the line-height to 20px instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean padding: 5px 10px cause 4px makes the height 30px. Also, I would recommend padding: 6px 10px 4px 10px; for optical correction.

Copy link
Member

@domyen domyen Dec 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds good re:optical correction. My mistake about the original padding figures – my addition skills are lacking 😅.

@domyen
Copy link
Member

domyen commented Dec 4, 2020 via email

@winkerVSbecks
Copy link
Collaborator Author

@domyen so, padding: 4px 10px && line-height: 20px yields 30px height. That's why I recommended those other options.

@winkerVSbecks winkerVSbecks merged commit f86337a into master Dec 4, 2020
@winkerVSbecks winkerVSbecks deleted the shorter-tag-items branch December 4, 2020 23:23
@winkerVSbecks
Copy link
Collaborator Author

🚀 PR was released in v5.4.3 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants