Skip to content
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

fix(storybook): fix scrolling in storybook #19993

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Conversation

thmsobrmlr
Copy link
Contributor

Problem

Stories like https://storybook.posthog.net/?path=/docs/lemon-ui-icons--docs aren't scrollable due to the overflow: hidden; in .posthog-3000.

Changes

This PR moves the overflow hidden from the class to a javascript function that adds it only in scenes (and the actual app).

How did you test this code?

👀

@thmsobrmlr thmsobrmlr requested a review from Twixes January 26, 2024 17:57
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 34 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

Size Change: 0 B

Total Size: 2.22 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 2.22 MB

compressed-size-action

@thmsobrmlr thmsobrmlr merged commit b532289 into master Jan 29, 2024
79 checks passed
@thmsobrmlr thmsobrmlr deleted the fix-storybook-scrolling branch January 29, 2024 09:21
xrdt pushed a commit that referenced this pull request Jan 30, 2024
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.

3 participants