Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ class Header extends React.Component {
<React.Fragment>
<header className={`header ${this.getHeaderSize()}`}>
<Link to="/" className="logoType">
<div className="logo">
<img src={config.gravatarImgMd5=="" ? avatar : config.gravatarImgMd5 } alt={config.siteTitle} />
</div>
<div className="logo" />
<div className="type">
<h1>{config.headerTitle}</h1>
<h2>{config.headerSubTitle}</h2>
Expand Down Expand Up @@ -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

background-image: url(${config.gravatarImgMd5 === "" ? avatar : config.gravatarImgMd5});
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-color: #fff;
border: 1px solid #eee;
display: inline-block;
height: 44px;
Expand Down