Skip to content

fix(drawer): fix primary-detail pattern drawer header - #7904

Merged
mcoker merged 2 commits into
patternfly:mainfrom
srambach:7803-drawer-title-nesting
Oct 27, 2025
Merged

mcoker merged 2 commits into
patternfly:mainfrom
srambach:7803-drawer-title-nesting

Conversation

@srambach

Copy link
Copy Markdown
Member

Fixes #7803

• Fixed CSS typo: pf-m-paddinng → pf-m-padding in drawer-body.hbs
• Removed unnecessary attribute: drawer-body--HasPadding=true from Drawer.md example
• Fixed drawer nesting: Moved drawer-head out of drawer-body in page-template-drawer-panel.hbs
• Simplified header structure: Removed unnecessary flex layout in primary-detail-template-panel-header.hbs. It now uses drawer-head and drawer-description elements properly.

Just the description generated by cursor 😺

@patternfly-build

patternfly-build commented Oct 20, 2025 •

Copy link
Copy Markdown
Collaborator

@srambach
srambach requested a review from mcoker October 21, 2025 13:00

@mcoker mcoker 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.

Nice use of the drawer description!

Looks like there are a couple more

  • Wizard "With drawer" demo has drawer-body around drawer-head

    {{#> drawer-body}}
    {{#> drawer-head}}
    {{> title titleType="h2" title--modifier="pf-m-xl" title--text="Register with Red Hat connector"}}
    {{#> drawer-actions}}
    {{> drawer-close}}
    {{/drawer-actions}}
    {{/drawer-head}}
    {{/drawer-body}}

  • Wizard "with drawer" example has drawer-body around drawer-head along with some other issues

@srambach
srambach requested a review from mcoker October 23, 2025 13:22

@mcoker mcoker 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.

🎳

@mcoker
mcoker merged commit 87ae405 into patternfly:main Oct 27, 2025
4 checks passed
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.5.0-prerelease.5 🎉

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 - Primary detail drawer headers have too much indentation

3 participants