Skip to content

Conversation

adamleithp
Copy link
Contributor

@adamleithp adamleithp commented Oct 18, 2025

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

  • Add flex to wrapping scene-layout allowing...
  • SQL, Replay and Max scene to use flex-grow to take available screen height
  • SceneContent gets prop fullHeight to allow devs to easily reach for good practice.
  • Replay gets a bit more changes, but styles are better IMO

2025-10-18 21 22 55

2025-10-19 09 57 55

full height persons / group session replays
2025-10-19 23 28 17

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 ✅

@posthog-bot posthog-bot requested a review from a team October 18, 2025 20:33
Copy link
Contributor

@greptile-apps greptile-apps bot left a 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

Edit Code Review Agent Settings | Greptile

Copy link
Contributor

github-actions bot commented Oct 18, 2025

Size Change: +21 B (0%)

Total Size: 3.3 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 3.3 MB +21 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

12 snapshot changes in total. 0 added, 12 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 9)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

14 snapshot changes in total. 0 added, 14 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@adamleithp adamleithp requested review from benjackwhite, pauldambra and veryayskiy and removed request for a team, benjackwhite, pauldambra and veryayskiy October 19, 2025 08:59
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

14 snapshot changes in total. 0 added, 14 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

14 snapshot changes in total. 0 added, 14 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

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