From 58f5e50cea364304fc7009b80bfe3a1e37f1babd Mon Sep 17 00:00:00 2001 From: Alejandro Gomez Date: Mon, 9 Jan 2023 23:18:58 +0100 Subject: [PATCH] center and margin for embdedded content --- src/element/Note.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/element/Note.css b/src/element/Note.css index 888ff670..232379ee 100644 --- a/src/element/Note.css +++ b/src/element/Note.css @@ -32,10 +32,10 @@ .note > .body > img, .note > .body > video, .note > .body > iframe { max-width: 100%; max-height: 500px; -} - -.note > .body > iframe { - margin: 10px 0; + margin: 10px; + margin-left: auto; + margin-right: auto; + display: block; } .note > .header > img:hover, .note > .header > .name > .reply:hover, .note > .body:hover {