From 4949799b6ee743ca6c6f377dd59ff792df991484 Mon Sep 17 00:00:00 2001 From: Elblinator <69210919+Elblinator@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:06:41 +0100 Subject: [PATCH] Add margin-top to all paragraphs (#4304) --- .../common/motion-format.service/motion-format.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/site/pages/meetings/pages/motions/services/common/motion-format.service/motion-format.service.ts b/client/src/app/site/pages/meetings/pages/motions/services/common/motion-format.service/motion-format.service.ts index 9d44ce13fd..a8038be15c 100644 --- a/client/src/app/site/pages/meetings/pages/motions/services/common/motion-format.service/motion-format.service.ts +++ b/client/src/app/site/pages/meetings/pages/motions/services/common/motion-format.service/motion-format.service.ts @@ -299,6 +299,7 @@ export class MotionFormatService { // Removes the unwanted gap between the paragraph and the amendment number if (text[i]?.indexOf(`amendment-nr-n-icon`) !== -1) { text[i + 1] = text[i + 1]?.replace(`os-split-after`, `os-split-after margin-top-0`); + text[i + 1] = text[i + 1]?.replace(`
`, `
`);
}
if (text[i]?.search(`