-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(ux): remove all (min-)h-100vh-scene-header-height, and use flex grow instead #39920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9 files reviewed, 2 comments
Size Change: +21 B (0%) Total Size: 3.3 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated12 snapshot changes in total. 0 added, 12 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
ff17303
to
d2cd8aa
Compare
📸 UI snapshots have been updated14 snapshot changes in total. 0 added, 14 modified, 0 deleted:
Triggered by this commit. |
21a7902
to
1242051
Compare
📸 UI snapshots have been updated14 snapshot changes in total. 0 added, 14 modified, 0 deleted:
Triggered by this commit. |
751f078
to
7a8a51a
Compare
📸 UI snapshots have been updated14 snapshot changes in total. 0 added, 14 modified, 0 deleted:
Triggered by this commit. |
Problem
We use some forceful CSS (min-height: 100vh-scene-header-height) to make scenes full viewport height, this isn't ideal as it's cognitive overhead on how to do it
Changes
flex
to wrappingscene-layout
allowing...flex-grow
to take available screen heightSceneContent
gets propfullHeight
to allow devs to easily reach for good practice.full height persons / group session replays

How did you test this code?
Opened SQL editor, height is full, but scrolls when too short ✅
Opened Replay, height is full, but scrolls when too short ✅
Open Max, height is full, but scrolls when too short ✅