From 5ef224dff563b99bcc3ab907316d5a2512b3d452 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:06:44 -0600 Subject: [PATCH] style: align videos if not full width --- src/Blog/wwwroot/markdown.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Blog/wwwroot/markdown.css b/src/Blog/wwwroot/markdown.css index aee3c37..0a317db 100644 --- a/src/Blog/wwwroot/markdown.css +++ b/src/Blog/wwwroot/markdown.css @@ -212,6 +212,8 @@ .markdown-body img, .markdown-body video { + display: block; + margin: 0 auto; border-radius: 0.5rem; border-style: none; max-width: 100%; @@ -1211,4 +1213,4 @@ display: block; overflow: auto; padding: 1rem; -} \ No newline at end of file +}