fix: video aspect ratio

This commit is contained in:
Alejandro Gomez 2023-01-10 16:21:53 +01:00
parent 781b77f735
commit 2d5597cccc
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -32,12 +32,15 @@
.note > .body img, .note > .body video, .note > .body iframe {
max-width: 100%;
max-height: 500px;
margin: 10px;
margin-left: auto;
margin-right: auto;
margin: 10px auto;
display: block;
}
.note > .body iframe, note > .body video {
width: -webkit-fill-available;
aspect-ratio: 16 / 9;
}
.note > .header img:hover, .note > .header .name > .reply:hover, .note .body:hover {
cursor: pointer;
}