Skip to content

chore(login): fix header markup in main element - #7753

Merged
mcoker merged 2 commits into
patternfly:mainfrom
mcoker:issue-6928
Aug 29, 2025
Merged

mcoker merged 2 commits into
patternfly:mainfrom
mcoker:issue-6928

Conversation

@mcoker

@mcoker mcoker commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

fixes #6928

@mcoker
mcoker requested a review from thatblindgeye August 21, 2025 23:50
@patternfly-build

patternfly-build commented Aug 21, 2025 •

Copy link
Copy Markdown
Collaborator

@thatblindgeye thatblindgeye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what React currently looks like on Org:

Markup of the PatternFly React Login component

React also doesn't allow customizing the elements for the header, main, or footer components that use those tags (login__main, __footer, and __header classes). Looks like we updated the stuff inside that main element to be hardcoded divs now (the __main-header, and __main-footer classes; __main-body was already a div).

This PR only updates the header component in Core to be a div, but we'd still have footer tag being used for __main-footer.

@mcoker
mcoker merged commit d6fd2b6 into patternfly:main Aug 29, 2025
4 checks passed
@mcoker
mcoker deleted the issue-6928 branch August 29, 2025 14:18
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.3.0-prerelease.54 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - Login - header should not be inside main

3 participants