Skip to content

Closes #5330: Removal of bottom margin from entity reference fields changed some content type displays#5343

Merged
joeparsons merged 3 commits intomainfrom
issue/5330
Feb 25, 2026
Merged

Closes #5330: Removal of bottom margin from entity reference fields changed some content type displays#5343
joeparsons merged 3 commits intomainfrom
issue/5330

Conversation

@bberndt-uaz
Copy link
Copy Markdown
Contributor

@bberndt-uaz bberndt-uaz commented Feb 23, 2026

Description

  1. Updates content type view displays to maintain the spacing prior to Closes #5274: Adds margin 0 override to entity reference fields #5294 as closely as possible (using only Arizona Bootstrap classes)
  2. Restricts the .field--type-entity-reference CSS override to margin-bottom and increases the specificity to ensure it always overrides Bootstrap Barrio
  3. Removes other .field--type-entity-reference CSS overrides that are no longer needed

Release notes

### Removed bottom margin for entity reference fields
This release removes the bottom margin added to entity reference fields by Bootstrap Barrio. This change primarily affects images used as part of content type displays. Custom content type displays may need to be updated to account for this styling change.

Related issues

How to test

Review the displays / views below to confirm that the updated spacing below images is appropriate:

  1. AZ Event Card Alternate display
  2. AZ News Card display
  3. AZ News Media List display
  4. AZ News - Recent News Marquee view, AZ News - Small Row view, and AZ News Row with Background display in side-by-side view
  5. AZ Publication - Card display

Also, confirm that this PR doesn't introduce any regressions related to image margins for Split Screen paragraphs and AZ Carousel items.

Types of changes

Arizona Quickstart (install profile, custom modules, custom theme)

  • Patch release changes
    • Bug fix
    • Accessibility, performance, or security improvement
    • Critical institutional link or brand change
    • Adding experimental module
    • Update experimental module
  • Minor release changes
    • New feature
    • Breaking or visual change to existing behavior
    • Upgrade experimental module to stable
    • Enable existing module by default or database update
    • Non-critical brand change
    • New internal API or API improvement with backwards compatibility
    • Risky or disruptive cleanup to comply with coding standards
    • High-risk or disruptive change (requires upgrade path, risks regression, etc.)
  • Other or unknown
    • Other or unknown

Drupal core

  • Patch release changes
    • Security update
    • Patch level release (non-security bug-fix release)
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major or minor level update
  • Other or unknown
    • Other or unknown

Drupal contrib projects

  • Patch release changes
    • Security update
    • Patch or minor level update
    • Add new module
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major level update
  • Other or unknown
    • Other or unknown

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My change requires release notes.

@bberndt-uaz bberndt-uaz self-assigned this Feb 23, 2026
@bberndt-uaz bberndt-uaz requested review from a team as code owners February 23, 2026 21:07
@bberndt-uaz bberndt-uaz added minor release Issues/PRs that should only be made as part of a minor release (according to our release policy). 3.3.x only labels Feb 23, 2026
@bberndt-uaz bberndt-uaz changed the title Closes #5330 Closes #5330: Removal of bottom margin from entity reference fields changed some content type displays Feb 23, 2026
@bberndt-uaz bberndt-uaz moved this from Todo to Needs review in 3.3.0-alpha1 Feb 23, 2026
@zsaenz zsaenz self-requested a review February 24, 2026 18:36
@github-project-automation github-project-automation bot moved this from Needs review to Ready to merge in 3.3.0-alpha1 Feb 24, 2026
@joeparsons joeparsons merged commit af817d3 into main Feb 25, 2026
32 checks passed
@joeparsons joeparsons deleted the issue/5330 branch February 25, 2026 17:38
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in 3.3.0-alpha1 Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.3.x only minor release Issues/PRs that should only be made as part of a minor release (according to our release policy). release notes

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Removal of bottom margin from entity reference fields changed some content type displays

6 participants