Skip to content

Commit

Permalink
Fix issue with videos not fitting into mobile screen
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Apr 17, 2024
1 parent df27696 commit 1df72e7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/modals/MediaModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@
animation-timing-function: linear;
}
img {
max-width: 80vw;
max-height: 80vh;
img,
video {
max-width: 90vw;
max-height: 90vh;
width: auto;
height: auto;
}
&:not(.placeholder):not(.ready) {
opacity: 0;
img:not(.placeholder):not(.ready) {
opacity: 0;
}
}
</style>

0 comments on commit 1df72e7

Please sign in to comment.