Skip to content

Commit 2347c02

Browse files
lightbox images now scale width-wise so smaller viewports shrink image instead of horizontal scrolling
1 parent 0695f7c commit 2347c02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

templates/report.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181

8282
.lightbox-image {
8383
max-height: calc(100dvh - 4rem);
84+
max-width: 100dvw;
8485
object-fit: contain;
8586
border-radius: 4px;
8687
}

0 commit comments

Comments
 (0)