Skip to content

Pin landing footers to the bottom of the viewport - #40

Merged
russwyte merged 1 commit into
mainfrom
sticky-landing-footer
Jul 27, 2026
Merged

Pin landing footers to the bottom of the viewport#40
russwyte merged 1 commit into
mainfrom
sticky-landing-footer

Conversation

@russwyte

Copy link
Copy Markdown
Contributor

Summary

  • Make Theme.Landing a column flex container (min-height: 100vh)
  • Give Theme.Footer margin-top: auto so short landing/hub pages keep the footer at the viewport bottom (docs Layout already pins via the 1fr middle row)

Test plan

  • sbt site/test
  • Build a landing/hub page and confirm the footer sits at the bottom on a tall viewport with short content
  • Confirm docs pages (Layout + sidebar) still look unchanged

Make Landing a column flex container and give Footer margin-top: auto so short hub pages keep chrome at the bottom.
@russwyte
russwyte merged commit 140b39c into main Jul 27, 2026
4 checks passed
@russwyte
russwyte deleted the sticky-landing-footer branch July 27, 2026 22:42
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.

1 participant