From df1c360b2a7664c22bdf5cdf466f4055dd99081d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 30 Apr 2023 16:47:40 -0400 Subject: [PATCH] fix: Line number alignment in code blocks nested in lists closes #5217 --- shared/editor/components/Styles.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 13f62fdb6..6283408e1 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -1027,8 +1027,7 @@ mark { top: calc(1px + 0.75em); width: calc(var(--line-number-gutter-width,0) * 1em + .25em); word-break: break-all; - text-align: right; - + white-space: break-spaces; font-family: ${props.theme.fontFamilyMono}; font-size: 13px; line-height: 1.4em;