-
Notifications
You must be signed in to change notification settings - Fork 590
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
Conversation
src/components/tag/TagItem.tsx
Outdated
@@ -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; |
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.
Can we change to padding: 4px 10px
and adjust the line-height to 20px instead?
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.
Do you mean padding: 5px 10px
cause 4px makes the height 30px. Also, I would recommend padding: 6px 10px 4px 10px;
for optical correction.
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.
That sounds good re:optical correction. My mistake about the original padding figures – my addition skills are lacking 😅.
I'm suggesting `padding: 4px 10px` && `line-height: 20px` to yield a 32px
tall tag element.
…On Thu, Dec 3, 2020 at 6:53 PM Varun Vachhar ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/components/tag/TagItem.tsx
<#235 (comment)>
:
> @@ -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;
Do you mean padding: 5px 10px cause 4px makes the height 30px. Also, I
would recommend padding: 6px 10px 4px 10px; for optical correction.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#235 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACAJWOW3GKUB43PSM3DAHTSTAQF5ANCNFSM4UMPEZZQ>
.
|
@domyen so, |
5c32271
to
07be551
Compare
🚀 PR was released in |
No description provided.