Skip to content

Fix WWCode header logo circle #18

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

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

Fix WWCode header logo circle #18

wants to merge 1 commit into from

Conversation

scarlettsteph07
Copy link

@scarlettsteph07 scarlettsteph07 commented Oct 19, 2018

What does this PR do?

Fixes #16
Fixes header logo circle by using a background image in the logo div, instead of using a img tag

Demo

  • Before:
    image

  • After:
    image

@@ -111,7 +109,12 @@ class Header extends React.Component {
}

.logo {
border-radius: 65% 75%;
border-radius: 50%;
Copy link
Author

Choose a reason for hiding this comment

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

Updating border-radius to 50% makes it so it looks like a circle rather than an oval.

image

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