Skip to content

Make benchmark ready footer buttons wrap with container queries#2051

Merged
cezudas merged 2 commits intomainfrom
cezudas/OPS-3830
Mar 4, 2026
Merged

Make benchmark ready footer buttons wrap with container queries#2051
cezudas merged 2 commits intomainfrom
cezudas/OPS-3830

Conversation

@cezudas
Copy link
Copy Markdown
Contributor

@cezudas cezudas commented Mar 4, 2026

Fixes OPS-3820.

Screenshots below, matching the latest Figma design (see ticket).

Narrow container:
Screenshot 2026-03-04 at 10 20 10

Wide container:
Screenshot 2026-03-04 at 10 20 19

@linear
Copy link
Copy Markdown

linear Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the layout of the footer buttons in the "benchmark-ready" wizard phase, making them wrap responsively using CSS container queries instead of always displaying inline.

Changes:

  • Added @container and flex-wrap to the footer wrapper div so buttons wrap at narrow container widths
  • Added responsive classes (flex-1 min-w-0 @xs:flex-none / w-full @xs:w-auto) to all three footer buttons for proper narrow/wide behavior
  • Added a className prop to ViewBenchmarkWorkflowsButton to allow passing layout-specific styles from the parent

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
benchmark-wizard-footer.tsx Adds @container, flex-wrap, and responsive classes to footer wrapper and buttons
view-benchmark-workflows-button.tsx Exposes optional className prop to allow external layout styling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 4, 2026

@cezudas cezudas merged commit a57733d into main Mar 4, 2026
25 checks passed
@cezudas cezudas deleted the cezudas/OPS-3830 branch March 4, 2026 10:12
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