diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 3235125685..843cd89edc 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -1068,11 +1068,11 @@ a:hover { ul, ol { - margin: 0 0.1em 0 -26px; + margin: 0 0.1em 0 ${props.staticHTML ? "0" : "-26px"}; padding: 0 0 0 48px; &:dir(rtl) { - margin: 0 -26px 0 0.1em; + margin: 0 ${props.staticHTML ? "0" : "-26px"} 0 0.1em; padding: 0 48px 0 0; } }