From 226a8b3813b057b8272626302f7623e604319e43 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 12 Nov 2024 19:10:39 +0000 Subject: [PATCH] Desktop, Mobile: Fix vertical alignment of checkboxes when text wraps over multiple lines --- packages/renderer/MdToHtml/rules/checkbox.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/renderer/MdToHtml/rules/checkbox.ts b/packages/renderer/MdToHtml/rules/checkbox.ts index 095563e7837..8ef2760f293 100644 --- a/packages/renderer/MdToHtml/rules/checkbox.ts +++ b/packages/renderer/MdToHtml/rules/checkbox.ts @@ -24,12 +24,14 @@ function pluginAssets(theme: any) { li.md-checkbox .checkbox-wrapper { display: flex; flex-direction: row; + align-items: flex-start; } li.md-checkbox input[type=checkbox] { display: flex; margin-left: -1.71em; margin-right: 0.7em; + margin-top: 5px; } li.md-checkbox label {