From 520cb2d34c2db4a1a3d65d67ba28e7601777b830 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Mon, 15 Jul 2024 13:55:43 +0200 Subject: [PATCH] Add margin to block-level math --- client/src/document/index.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/document/index.scss b/client/src/document/index.scss index 9e0ef2fb60f9..bed9a58bb05e 100644 --- a/client/src/document/index.scss +++ b/client/src/document/index.scss @@ -471,6 +471,10 @@ pre { } } +math[display="block"] { + margin: 1rem 0 2rem; +} + .example-good, .example-bad { padding: 0 1rem;