web-illinois / illinois_framework_theme

An Illinois branded Drupal theme based off of the bootstrap4 theme.
5 stars 1 forks source link

Spacing between title and first paragraph when body field is not used #988

Open trubach opened 5 months ago

trubach commented 5 months ago

Describe the bug When the body field is not used on a content page, the first paragraph (rich text, expand/collapse) have a large amount of whitespace between the page title and the paragraph.

Example of rich text paragraph spacing: https://drupal-sandbox.webtheme.illinois.edu/bacon/empty-body-field-paragraph-test

Example of accordion spacing: https://drupal-sandbox.webtheme.illinois.edu/bacon/empty-body-field-accordion-listing

To Reproduce Create a new content page. Leave the body field blank. Add a rich text paragraph and put in content. Save the page and see the large amount of space between the page title and the paragraph.

Screenshots image

Additional context I haven't tested this on tablet/mobile layout, so I'm not sure what the behavior is on those.

github-actions[bot] commented 5 months ago

Branch bugfix/magjarvis/issue-988-spacing-between-title-and-first-paragraph-when-body-field-is-not-used created!