diff --git a/src/element/Note.css b/src/element/Note.css index a8f85450..c9549b45 100644 --- a/src/element/Note.css +++ b/src/element/Note.css @@ -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; }