Skip to content

Commit

Permalink
Add margin-top to all paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
Elblinator committed Oct 29, 2024
1 parent a3f23cc commit 5b5b224
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class MotionFormatService {
for (let i = 0; i < text.length; i++) {
// 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(`class="`, `class="margin-top-0 `);
}

if (text[i]?.search(`<os-linebreak`) > -1) {
Expand Down

0 comments on commit 5b5b224

Please sign in to comment.