Skip to content

Commit

Permalink
Fix mobile issue with photos
Browse files Browse the repository at this point in the history
  • Loading branch information
ewpratten committed Nov 28, 2024
1 parent 022732f commit c49f34b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_sass/photo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ body {
}

img {
max-width: 800px;
max-width: calc(min(800px, 100vw - 2em));
border: 5px solid black;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: black;
}

div.description {
Expand Down

0 comments on commit c49f34b

Please sign in to comment.