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 cc26e4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(`<p>`, `<p class="margin-top-0">`);
}

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

0 comments on commit cc26e4e

Please sign in to comment.