Skip to content

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

Open
graemeblackwood wants to merge 1 commit intodanfinlay:masterfrom
graemeblackwood:master
Open

[GB] Removes unnecessary inline CSS and adds a CSS class.#7
graemeblackwood wants to merge 1 commit intodanfinlay:masterfrom
graemeblackwood:master

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.

1 participant