Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
fix: video width
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Mar 25, 2024
1 parent 8d6f558 commit 08463fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ hr {
width: 100%;
}

img {
img,
video {
max-width: min(100%, var(--width));
height: auto;
object-fit: contain;
Expand Down

0 comments on commit 08463fb

Please sign in to comment.