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

fix: correct squished styling when user emails are too long #382

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Sep 29, 2020

Styling for avatar dropdown is not great if the email is long -- the avatar circle gets squished, whilst the email text expands outside of its parent.

Screenshot 2020-09-29 at 2 12 39 PM

This PR fixes that by correcting the CSS styling.
Screenshot 2020-09-29 at 2 15 43 PM

@@ -134,6 +125,9 @@
border-radius: 50%;
outline: none;
margin-right: 16px;
display: inline-table;
Copy link
Contributor

Choose a reason for hiding this comment

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

why inline-table rather than inline?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Played with the CSS, inline-table is the only one that correctly allows avatars to take up their full 40px width LOL

@karrui karrui merged commit 39e5aa7 into develop Oct 1, 2020
@karrui karrui deleted the fix/mispadded-avatar-dropdown branch October 1, 2020 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants