Skip to content

fix(site): restore scrolling so the landing demo stays reachable - #280

Merged
aojea merged 2 commits into
google:mainfrom
roushou:fix/landing-demo-overflow
Aug 18, 2026
Merged

fix(site): restore scrolling so the landing demo stays reachable#280
aojea merged 2 commits into
google:mainfrom
roushou:fix/landing-demo-overflow

Conversation

@roushou

@roushou roushou commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What

Hello! This is a fix to the landing page demo being cut off at the bottom and unreachable.
The bottom of the demo was clipped out due to overflow: hidden on the body even on scroll.

Changes

  • overflow: hiddenoverflow-x: hidden — restores vertical scrolling
  • Demo card styles moved from inline HTML into the landing SCSS
Before After (scrolled down)
image image

The landing page demo (asciinema, 185x69 cast) fills the container
width (~900px) and renders ~780px tall, but body overflow: hidden
blocked all scrolling, so the bottom of the demo was permanently
clipped and unreachable.

Switch the landing body to overflow-x: hidden so vertical scrolling
is available again and the full demo is always reachable.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request refactors the landing page styling by moving inline styles for the #demo-player element in site/layouts/index.html to the project's SCSS file (_styles_project.scss), and changes the main container's overflow property to overflow-x: hidden. Feedback was provided to use align-items: safe center to prevent layout clipping when the content height exceeds the viewport height.

Comment thread site/assets/scss/_styles_project.scss
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@aojea

aojea commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Thanks

@aojea
aojea merged commit b42aaaf into google:main Aug 18, 2026
19 of 20 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