Skip to content

[WIP] Spike exploring container queries in toolbar - #7888

Closed
srambach wants to merge 4 commits into
patternfly:mainfrom
srambach:7196-spike-container-queries
Closed

srambach wants to merge 4 commits into
patternfly:mainfrom
srambach:7196-spike-container-queries

Conversation

@srambach

Copy link
Copy Markdown
Member

This WIP exploration adds a set of container breakpoints that are based on the existing breakpoints minus the width of the navigation sidebar.

A modifier for toolbar has been created that changes the toolbar media query for arranging the expandable content to be a media query instead. As a POC, there are individual modifiers for each breakpoint and the background changes color as an easy indication of which container query is activating.

There are a couple of new examples in Toolbar. The first demonstrates that when placed next to the nav sidebar, the container query triggers at the same place that the old media query did. The other examples just demonstrate different breakpoints.

Part of #7196
This work was Cursor assisted.

@patternfly-build

patternfly-build commented Oct 10, 2025 •

Copy link
Copy Markdown
Collaborator

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

Spike LGTM!

@srambach

Copy link
Copy Markdown
Member Author

Closing this PR as complete; container query work continues in epic #7312 and toolbar container query specifically in #7967

@srambach srambach closed this Nov 24, 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