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
When using Paragraphs with the adminimal theme, There is no margin between the fields.
This is because of the following css in core/themes/classy/components/form.css:
tr.odd .form-item,
tr.even .form-item {
margin-top: 0;
margin-bottom: 0;
}
Patch attached, adds some margin to the fields.
Comment | File | Size | Author |
---|---|---|---|
#4 | before-applying-patch.png | 73.7 KB | brahmjeet789 |
#2 | paragraphs_adminimal_theme_margin_issue.png | 28.88 KB | JeroenT |
paragraphs_margin_issue.patch | 319 bytes | JeroenT |
Comments
Comment #2
JeroenTComment #3
JeroenTComment #4
brahmjeet789 CreditAttribution: brahmjeet789 as a volunteer and at gai Technologies Pvt Ltd commented@JeroenT i have reviewed your patch and it is working fine for me and i can see margin between fields of paragraph i have attached screenshots for your refernce please check
Comment #5
brahmjeet789 CreditAttribution: brahmjeet789 as a volunteer and at gai Technologies Pvt Ltd commentedi move this issue to RTBC.
Comment #6
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #7
asya_asina CreditAttribution: asya_asina as a volunteer and at DrupalJedi commentedThe patch applied and working.
Comment #9
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented