Skip to content

fix(layout): stop footer overlapping content on no-padding pages - #218

Merged
artempartos merged 1 commit into
developfrom
fix/workflow-run-footer-overlap-main
Sep 8, 2026
Merged

artempartos merged 1 commit into
developfrom
fix/workflow-run-footer-overlap-main

Conversation

@dvislov

@dvislov dvislov commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Problem

On the workflow run detail page (and any no-padding page that outgrows the viewport) the "Powered by Aixle" footer laid out on top of the page content instead of below it.

before

.mainNoPadding in AuthLayout.module.css carried min-height: 0. Because <main> is a flex-grow child of the scrolling .contentColumn, that let it shrink below its natural content height once the content exceeded the viewport. The footer then positioned against the collapsed <main> box while the content — and the sticky live-console panel — kept rendering full-size, overlapping the footer.

PR #133 removed min-height: 0 from WorkflowRuns/ShowPage.module.css .root, but the shrink was happening one level up at <main>, so the bug persisted.

Fix

Drop min-height: 0 from .mainNoPadding. The three consumers:

  • Projects/WorkflowRuns/ShowPage — normal scrolling document; wants <main> at full content height. Fixed.
  • Projects/Sessions/ShowPage and Company/Sessions/Show — full-height iframe via SessionShowContent, whose .root already sets its own min-height: 0 / overflow: hidden. That content root allows itself to shrink to 0, so <main>'s auto min-height still resolves to the available height — no behavior change, verified the layout still fills.

Checks

docker compose exec -T web make check_all could not complete in this environment — the web container's gem cache is broken (Bundler::GemNotFound, unrelated to this change) and tsc reports pre-existing errors in AssetsContent.tsx that are present on develop. Ran what applies to a CSS-only change:

  • eslint (AuthLayout) — pass
  • steiger (fsd) — pass
  • vitest WorkflowRuns + layouts — 24 passed

🤖 Generated with Claude Code

https://claude.ai/code/session_01MGoEtFbxUDGfHvVwZB3FMN

`.mainNoPadding` carried `min-height: 0`, which let <main> shrink below
its natural content height once a page outgrew the viewport. The
"Powered by Aixle" footer then laid out against the collapsed box while
the page content (and the sticky live-console panel) kept rendering at
full size, overlapping it — visible on the workflow run detail page.

The shrink chain from <main> is only needed by SessionShowContent's
full-height iframe view, and that content root already sets its own
`min-height: 0` / `overflow: hidden`, so dropping it here changes
nothing for the session pages while letting the scroll container do its
job everywhere else.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MGoEtFbxUDGfHvVwZB3FMN
Signed-off-by: Dmitry Vislov <[email protected]>
@dvislov
dvislov requested a review from artempartos September 8, 2026 10:12
@dvislov dvislov self-assigned this Sep 8, 2026
@artempartos
artempartos merged commit cec87eb into develop Sep 8, 2026
7 checks passed
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.

2 participants