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

How to disable overlay ? #5

Closed
RiusmaX opened this issue Oct 14, 2017 · 2 comments
Closed

How to disable overlay ? #5

RiusmaX opened this issue Oct 14, 2017 · 2 comments

Comments

@RiusmaX
Copy link

RiusmaX commented Oct 14, 2017

Hi,

I'm trying to disable the content overlay, i just need tu use the panel as "menu" to edit the page content.

How can I do this ? I've tried to set the "overlayCustomClass" with "display: none" but it's hide the panel too :/

Edit: I've found an issue on react-modal if it can help : reactjs/react-modal#259

Thanks for your work :)

@DimitryDushkin
Copy link
Owner

DimitryDushkin commented Oct 15, 2017

Thanks!

Just override it with CSS:

.slide-pane__overlay.ReactModal__Overlay--after-open {
    background: transparent;
}

@RiusmaX
Copy link
Author

RiusmaX commented Oct 15, 2017

Ok nice thanks ! 👍

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

No branches or pull requests

2 participants