Skip to content

fix(ui): Ensure splash screen scales to viewport height#639

Closed
aryanjsingh wants to merge 1 commit intoSableClient:devfrom
aryanjsingh:fix/issue-629-bug-reporting-screen-doesnt-scale-to-the
Closed

fix(ui): Ensure splash screen scales to viewport height#639
aryanjsingh wants to merge 1 commit intoSableClient:devfrom
aryanjsingh:fix/issue-629-bug-reporting-screen-doesnt-scale-to-the

Conversation

@aryanjsingh
Copy link
Copy Markdown

Summary

The bug reporting screen, which uses the SplashScreen component, was not scaling correctly to the browser's viewport height, causing content to be cropped. This was due to the component using minHeight: '100%', which relies on parent elements having a defined height. The fix changes this to minHeight: '100vh', which correctly sizes the component based on the viewport's height, resolving the scaling issue.

Changes

  • src/app/components/splash-screen/SplashScreen.css.ts: Changed minHeight from 100% to 100vh in the SplashScreen style. Using the viewport height unit (vh) ensures the component's minimum height is always equal to the browser's viewport height, fixing the vertical scaling issue that caused content to be cropped.

Related Issue

Closes #629

@aryanjsingh aryanjsingh requested review from 7w1 and hazre as code owners April 4, 2026 01:11
@aryanjsingh aryanjsingh closed this Apr 4, 2026
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.

Bug reporting screen doesn't scale to the size of screen

1 participant