Closes #5274: Adds margin 0 override to entity reference fields#5294
Merged
Closes #5274: Adds margin 0 override to entity reference fields#5294
Conversation
joshuasosa
approved these changes
Feb 11, 2026
tadean
approved these changes
Feb 13, 2026
trackleft
approved these changes
Feb 13, 2026
This was referenced Feb 13, 2026
32 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #5274 Entity Reference Fields have extra margin-bottom #5274
Fixes a style issue in Opportunity Content Type, found here: #5182
Description
When using Entity Reference fields, Barrio Core has a style issue of extra bottom margin. This means fields of type Entity Reference behave differently than fields of other types like Text Fields, and can't be aligned to match the style settings. This is most noticed when using smaller In-line labels for the fields.
This is meant as both a follow up to fix the style issue specifically found in Opportunities, as well as help future editors style their customized Taxonomy references.
Release notes
Related issues
How to test
-Create a new taxonomy, or add an existing one.
--Add terms to edit
-Create a new content type, or edit an existing one.
--Edit the content type's fields
--Add new references, and add a text field for testing
-Test the style and how it behaves with other content types. With Margin 0 it should behave like the other content types with label Above, label Inline, and Custom Labels using Field Groups.
-Test with other entity reference fields, including az_core items and other content types.
Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Drupal core
Drupal contrib projects
Checklist