fix(ui): reposition compliance card export menu#10918
Merged
Merged
Conversation
- Move the export dropdown trigger to the card's top-right corner - Replace bordered circular button with rounded-md ghost style - Tighten icon and padding for better hierarchy on small screens
Contributor
|
✅ All necessary |
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
Contributor
🔒 Container Security ScanImage: 📊 Vulnerability Summary
2 package(s) affected
|
added 3 commits
April 29, 2026 11:58
…on-responsive-size
- Pass resolved scanId to SSRComplianceGrid instead of re-reading searchParams - Prevents "no compliance data available" flash on first load
- Merge export menu and first-render fix into a single entry - Focus on user-visible behavior over implementation details
pedrooot
reviewed
Apr 29, 2026
pedrooot
previously approved these changes
Apr 29, 2026
jfagoagas
reviewed
Apr 29, 2026
Co-authored-by: Pepe Fagoaga <pepe@prowler.com>
pedrooot
approved these changes
Apr 29, 2026
jfagoagas
approved these changes
Apr 29, 2026
Collaborator
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The export action
⋮button on each compliance framework card sat under the provider logo in the left column, with a circular bordered design (~42 px,rounded-full, visible border). It competed visually with the logo, did not match the card'srounded-mdaesthetic, and felt disproportionate on small screens because its size was fixed.Before

After

Description
Restyles and repositions the export dropdown trigger inside
ComplianceCard:absolute top-2 right-2 z-10).borderedvariant ofActionDropdownis now ghost-style:rounded-md,p-1.5, no border, with a slightly smaller icon (size-5instead ofsize-6). Total trigger size drops from ~42 px to ~32 px and now mirrors the card's corner radius.ComplianceDownloadContainertest that asserted on the old border class.No behavior change: the dropdown still opens the same CSV/PDF download options, click propagation to the card is still stopped, and the PDF item is still gated by
reportType/isLatestCisForProvider.Steps to review
/complianceon a scan with frameworks and inspect any framework card.⋮icon should appear in the top-right corner of the card (no longer under the logo).rounded-mdsquare (no circular border, norounded-full).pr-9so the title doesn't overlap the floating trigger.Checklist
Community Checklist
UI (if applicable)
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.