fix: video aspect ratio
This commit is contained in:
parent
781b77f735
commit
2d5597cccc
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user