Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
spaceless
here really needed? It makes the block much slower and we removed them everywhere when not needed. I can see some more usages, but we should consider removing them if not strictly needed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, it's not needed, but
spaceless
was there when the template was added back in 2014 and got copy-pasted over the time for other row-blocks.to make sure this gets merged asap and to avoid possible BC breaks, i only re-added the old code with
spaceless
.but... after reviewing the code myself today, i noticed that i made a mistake:
the code should've been re-added to the
bootstrap_3_horizontal_layout.html.twig
(where it was removed) instead of replacing thecheckbox_row
-block in the thebootstrap_3_layout.html.twig
(it causes an unnecessary empty container in the vertical layout now).i'll prepare a new PR where i'll fix this when #24727 gets merged to avoid conflicts.