Customizing an Unpoly modal layer to look like a Bootstrap modal #768
panda-madness
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In an effort to unify how modals look in my application I have come up with the following customizations:
It is up to you to make sure the layer response has the appropriate
.modal-header, .modal-body, .modal-footerelements:So far this seems to work pretty well, though my use case is pretty standard, so I have not run into any edge cases.
Hope this might be useful to someone.
Beta Was this translation helpful? Give feedback.
All reactions