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

[GB] Removes unnecessary inline CSS and adds a CSS class. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

graemeblackwood
Copy link

@graemeblackwood graemeblackwood commented Oct 25, 2018

A few suggested improvements.

Add a CSS class of identicon. Could also be "jazzicon" if preferred? This enables overriding of any of the inline CSS.

Border radius to 50%, so it auto matches the width and height. Right now, 50px would be too small if my width / height > 100.

Display: block, because inline-block adds space under the element, messing with positioning.

Remove padding and margin 0 as no browser applies these by default anyway.

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.

None yet

1 participant