Skip to content

Commit

Permalink
Update headshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tmikeschu committed Jan 25, 2020
1 parent 479ee0b commit 8200210
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
Binary file modified public/headshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/components/Headshot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import "./styles.css"

const Headshot = () => (
<div className="Headshot">
<img src="headshot.jpg" alt="profile" />
<div>
<img src="headshot.jpg" alt="profile" />
</div>
</div>
)

Expand Down
16 changes: 13 additions & 3 deletions src/components/Headshot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@
padding: 1rem;
}

.Headshot img {
max-width: 100%;
.Headshot > div {
width: 100%;
height: 100%;
max-width: 1000px;
max-height: 1000px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

.Headshot > div > img {
width: 100%;
max-height: 100%;
border-radius: 50%;
}

0 comments on commit 8200210

Please sign in to comment.