Skip to content

Commit

Permalink
fix about us image design
Browse files Browse the repository at this point in the history
The padding has been replaced with border, and both the image
and it's parent have box-sizing: border-box, so it now keeps
the same width on the 3 borders of each element.
  • Loading branch information
HectorVilas committed Apr 28, 2023
1 parent e7d5f2d commit ccd7dd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
width: 100%;
display: flex;
align-items: center;
background-color: var(--color-2);
overflow: hidden;
padding: 68px;
padding-right: 0;
border: 68px solid var(--color-2);
border-right: none;
}
.home-about-image-div img {
box-sizing: border-box;
width: auto;
height: 100%;
border: 46px solid #FEFFFF;
Expand Down

0 comments on commit ccd7dd0

Please sign in to comment.