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

The header with css rule - position: fixed gets out of the storybook preview screen #22138

Closed
LimaAkter233 opened this issue Apr 18, 2023 · 0 comments

Comments

@LimaAkter233
Copy link

LimaAkter233 commented Apr 18, 2023

Describe the bug

I have added a header with css rule - position: fixed. But The header remains fixed on the device viewport not storybook preview viewport. I tried to use a suggested solution -> using css rule - transform: scale(1) to the parent container here.

Though it looks correct when the story is opened in open canvas in a new tab.

To Reproduce

  1. Added a div with css rule position: fixed;
  2. added css rule position: relative to it's parent container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant