From 26a3260d8cfb5f47b85143f4e51d43b163c28543 Mon Sep 17 00:00:00 2001 From: moris Date: Sat, 1 Feb 2025 20:02:56 +0900 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E5=83=8F=E3=82=92=E5=90=AB=E3=82=80?= =?UTF-8?q?=E3=83=91=E3=83=A9=E3=82=B0=E3=83=A9=E3=83=95=E4=B8=AD=E3=81=AE?= =?UTF-8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=82=92=E3=82=AD=E3=83=A3?= =?UTF-8?q?=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=A8=E3=81=97=E3=81=A6?= =?UTF-8?q?=E6=89=B1=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/Markdown.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/components/Markdown.css b/src/lib/components/Markdown.css index b8f4448..ac9808f 100644 --- a/src/lib/components/Markdown.css +++ b/src/lib/components/Markdown.css @@ -50,10 +50,14 @@ & img { display: block; - margin: 1em auto; + margin: auto; max-width: 100%; max-height: 60vh; } + & p:has(img) { + text-align: center; + & br {display: none;} + } & code { font-size: 1rem;