From fd77c375adb68e4fd6198a10a30bc966f45668c1 Mon Sep 17 00:00:00 2001 From: Heikki Honkanen Date: Mon, 4 Nov 2024 10:58:40 +0200 Subject: [PATCH] Align math images vertically centered with text --- src/app/components/math-editor/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/math-editor/index.tsx b/src/app/components/math-editor/index.tsx index 8bda834a..9ef310b0 100644 --- a/src/app/components/math-editor/index.tsx +++ b/src/app/components/math-editor/index.tsx @@ -36,7 +36,8 @@ const Error = styled.span` ` const MathImage = styled.img` - padding: 3px 10px; + margin: 5px 0; + vertical-align: middle; ` const MathEditorElement = styled.div`