Custom modal that only fills up part (like 80%) of the screen width and centered #838
Unanswered
mdodge-ecgrow
asked this question in
Q&A
Replies: 1 comment
-
Hi! Did you try the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to figure out how to customize the styles of this plugin a bit. I have copied the entired CSS file as suggested and imported that into my React project. I tried playing with the
[data-rmiz-modal-content]
tag and couldn't get it to work right.When I add that
margin: 0 auto;
in, the zoom in and out goes to and from the wrong spot on the page. I want the overlay to cover the whole page, but the modal to only cover part of it.Beta Was this translation helpful? Give feedback.
All reactions