Skip to content

Commit 721bc25

Browse files
author
Morton Swimmer
committed
fixing image size
1 parent cea97ee commit 721bc25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/intermission.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,9 @@ <h2>Random photo from 2025</h2>
230230
imgEl2025.src = randomPhoto2025;
231231
imgEl2025.style.display = 'block';
232232
imgEl2025.style.margin = '0 auto';
233-
imgEl2025.style.width = '80%';
234-
imgEl2025.style.height = 'auto';
233+
// imgEl2025.style.width = '80%';
234+
imgEl2025.style.maxHeight = '90vh';
235+
imgEl2025.style.objectFit = 'contain';
235236
photoSection2025.appendChild(imgEl2025);
236237
</script>
237238
<script>

0 commit comments

Comments
 (0)