Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
While creating a custom basic block through layout builder, the Display title checkbox below the input field description is misaligned.
Steps to reproduce
1. Home>Administration>Structure>Content types>Article,under layout options check layout builder.
2. Go to the article node, click on layout.
3. Click on Add block, create a custom block>basic block.
4. The Display title checkbox below the input field description is misaligned.
Comment | File | Size | Author |
---|---|---|---|
#8 | chrome_21-11-12_733.jpg | 132.84 KB | bskibinski |
#3 | after-3213557.png | 48.65 KB | guilhermevp |
#3 | before-3213557.png | 46.73 KB | guilhermevp |
#2 | 3213557.2.patch | 772 bytes | Sakthivel M |
Screenshot 2021-05-12 at 10.13.10 AM.png | 201.06 KB | tushar_sachdeva |
Comments
Comment #2
Sakthivel M CreditAttribution: Sakthivel M at QED42 for Drupal India Association commented#2 Please review the patch
Comment #3
guilhermevp CreditAttribution: guilhermevp at CI&T commentedPatch indeed makes it looks better and aligned.
Before:
After:
Comment #6
lauriiiCommitted 3153340 and pushed to 9.3.x and 9.2.x. Thanks!
Comment #8
bskibinskiThis fix breaks checkboxes in Claro. this should be scoped more to the issue at hand.
What frontend theme was used to test this? In the default seven theme, the checkbox doesn't even get the class "form-type--boolean".
When setting Claro as the default theme (for frontend) the checkbox also breaks.
Created a new bug ticket to fix this patch: https://www.drupal.org/project/drupal/issues/3249141
But this issue will probably need a proper fix, not sure if this ticket should be reopend?