From 258beaf6f4ecc899f0773db451fea554e7dd0578 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Tue, 28 Jan 2025 20:56:44 +0100 Subject: [PATCH] fix: Markdown fixes --- .../components/content/Markdown.module.scss | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/apps/frontend/src/ui/components/content/Markdown.module.scss b/apps/frontend/src/ui/components/content/Markdown.module.scss index 06e87ccb..1ac17c7f 100644 --- a/apps/frontend/src/ui/components/content/Markdown.module.scss +++ b/apps/frontend/src/ui/components/content/Markdown.module.scss @@ -7,10 +7,9 @@ width: auto; } - hr, - h1, - h2 { - max-width: max(60rem, 90%); + hr { + width: 100%; + margin: 20px 0px; } ul, @@ -18,4 +17,18 @@ margin-left: 2rem; list-style: initial; } + + center { + margin: auto; + width: 100%; + } + + img { + display: inline-block; + } + + blockquote, code, details, dl, ol, p, pre, table, ul { + margin-bottom: 16px; + margin-top: 0px; + } }