Skip to content

Conversation

@ku5ic
Copy link
Contributor

@ku5ic ku5ic commented Oct 30, 2025

Changes

This PR updates styling for field sections and object field wrappers in the Headless CMS UI to align with the current design system.

Key adjustments:

  • Updated field section heading from <h6> to <h5> to improve visual hierarchy.
  • Refactored the border line by moving it from the container to an ::after pseudo-element.
  • Separated the label text into its own <span> to enable proper z-index layering.
  • Enhanced visual separation and spacing using updated utility classes.
  • Simplified DOM structure by removing unnecessary wrapper elements.
  • Removed border and padding from single inline object field wrappers, replacing them with minimal vertical padding for a cleaner, more consistent appearance.

How Has This Been Tested?

  • Verified layout and spacing updates in the Headless CMS UI.
  • Checked visual hierarchy across form sections in multiple screen sizes.
  • Confirmed no structural regressions or layout breaks in related components.

Documentation

No documentation changes are required. These updates strictly refine styling to align with the existing design system and do not introduce new functionality or change user-facing behaviors.

ku5ic added 2 commits October 30, 2025 10:11
- Change heading level from 6 to 5 for better hierarchy
- Refactor border line from parent div to pseudo-element
- Move label text into separate span for z-index control
- Improve visual separation with after pseudo-element
- Update spacing and positioning classes
- Simplify DOM structure by removing unnecessary wrapper div

Changes applied to DynamicSection and singleObjectInline components
to create consistent styling with improved visual hierarchy.
Remove border and padding from single object inline field wrapper,
replacing with vertical padding only for cleaner appearance.
@ku5ic ku5ic requested a review from adrians5j October 30, 2025 09:25
@Pavel910 Pavel910 added this to the 5.44.0 milestone Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants