Skip to content

Commit

Permalink
Force default height/width for videos and allow wide images to stretc…
Browse files Browse the repository at this point in the history
…h across the screen more

Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Sep 9, 2024
1 parent 2d6a78d commit 4b647dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/viewer/templates/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
border-radius: 5px;
}

.slack-files img {
max-width: 320px;
.slack-files img, .slack-files video {
max-width: 50%;
max-height: 320px;
}

Expand Down

0 comments on commit 4b647dd

Please sign in to comment.