diff --git a/openslides/core/static/js/core/pdf.js b/openslides/core/static/js/core/pdf.js index 94d352e42..61ceee2ea 100644 --- a/openslides/core/static/js/core/pdf.js +++ b/openslides/core/static/js/core/pdf.js @@ -962,7 +962,9 @@ angular.module('OpenSlidesApp.core.pdf', []) currentParagraph.text.push(create('text', ' ')); } else if (isInsideAList(element) && lineNumberMode === 'none') { // Put a spacer there, if there is one BR in a list - alreadyConverted.push(create('text', ' ')); + var spacer = create('text', ' '); + spacer.lineHeight = 0.25; + alreadyConverted.push(spacer); } currentParagraph.lineHeight = 1.25; alreadyConverted.push(currentParagraph); diff --git a/openslides/motions/static/css/motions/_site.scss b/openslides/motions/static/css/motions/_site.scss index da149a8b7..0c809459c 100644 --- a/openslides/motions/static/css/motions/_site.scss +++ b/openslides/motions/static/css/motions/_site.scss @@ -112,7 +112,7 @@ } .motion-text.line-numbers-none li > br { - margin-top: 8px; + margin-top: 6px; content: " "; display: block; &.os-line-break { diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index 2bce52ba7..80d29d723 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -843,6 +843,10 @@ angular.module('OpenSlidesApp.motions.site', [ var someMotionsHaveAmendments = _.some(motions, function (motion) { return motion.hasAmendments(); }); + // if amendments amendments are already included. We owudl have them twice, if the option is enabled. + if (Config.get('motions_amendments_main_table').value) { + someMotionsHaveAmendments = false; + } var getMetaInformationOptions = function (disabled) { if (!disabled) { disabled = {}; diff --git a/openslides/motions/static/templates/motions/motion-detail.html b/openslides/motions/static/templates/motions/motion-detail.html index 720ece363..078582ef2 100644 --- a/openslides/motions/static/templates/motions/motion-detail.html +++ b/openslides/motions/static/templates/motions/motion-detail.html @@ -174,7 +174,7 @@