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

Info Addon: increase container's z-index #1263

Closed
kohlmannj opened this issue Jun 12, 2017 · 0 comments
Closed

Info Addon: increase container's z-index #1263

kohlmannj opened this issue Jun 12, 2017 · 0 comments

Comments

@kohlmannj
Copy link
Contributor

kohlmannj commented Jun 12, 2017

As it turns out, there's a weird interaction between the info addon and some of the custom decorators I'm using:

I have a custom decorator that renders semitransparent placeholder text below the story. When clicking on the blue "Show Info" tab, the Info content shows up, but because it has no background, the placeholder text shows through:

screen shot 2017-06-12 at 10 35 48 am

[Update]: ah, this is actually a z-index problem with the fixed-position container that the info addon uses. The placeholder text content has z-index: 2 (for reasons beyond its usage in Storybook).

@kohlmannj kohlmannj changed the title Info Addon: add a white background Info Addon: increase container's z-index Jun 12, 2017
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

2 participants