Skip to content

fix(admin): resolve FOM detail sidebar layout squishing on narrow viewports - #1068

Merged
DerekRoberts merged 3 commits into
mainfrom
feat/fix-fom-detail-aside-card-layout
Aug 21, 2026
Merged

fix(admin): resolve FOM detail sidebar layout squishing on narrow viewports#1068
DerekRoberts merged 3 commits into
mainfrom
feat/fix-fom-detail-aside-card-layout

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary of Changes

  • Fluid Key-Value Layout: Replaced rigid flex: 0 0 10.5rem on .aside-card .nv-list span.name with display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; so key labels and date values claim available width dynamically without awkward word wraps.
  • Button Sizing: Updated .aside-card .cta-btn to width: 100%; max-width: 100%; min-width: 0 preventing overflow in narrow containers.
  • Responsive Breakpoint: Updated layout columns from col-md-8 / col-md-4 to col-12 col-lg-8 / col-12 col-lg-4 mt-4 mt-lg-0 to stack comfortably when snapped to half-screen on standard monitors (< 992px).

Verification

  • Ran npm run build:admin (production build passed)
  • Ran npm run test-unit (21 test suites passed, 184 tests passed)

Screencaps

Before:
Screenshot_20260820_152828 (1)

After:
Screenshot_20260821_100224


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Copilot AI balanced review requested due to automatic review settings August 21, 2026 03:01

Copilot AI 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.

Pull request overview

Improves FOM detail responsiveness on narrow viewports.

Changes:

  • Makes sidebar key-value rows and buttons responsive.
  • Stacks content and sidebar below the large breakpoint.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
fom-detail.component.scss Updates sidebar sizing and layout styles.
fom-detail.component.html Adjusts responsive grid breakpoints and spacing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread admin/src/app/foms/fom-detail/fom-detail.component.scss
@DerekRoberts DerekRoberts moved this to Active in DevOps (NR) Aug 21, 2026
@DerekRoberts DerekRoberts self-assigned this Aug 21, 2026
@DerekRoberts
DerekRoberts requested a balanced review from Copilot August 21, 2026 18:00
@DerekRoberts
DerekRoberts merged commit bd8d6c6 into main Aug 21, 2026
40 of 42 checks passed
@DerekRoberts
DerekRoberts deleted the feat/fix-fom-detail-aside-card-layout branch August 21, 2026 18:01
@github-project-automation github-project-automation Bot moved this from Active to Done in DevOps (NR) Aug 21, 2026

Copilot AI 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.

Pull request overview

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

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants