Change body style padding-right: 17px; overflow: hidden; to a class
matamune94 opened this issue · 1 comments
matamune94 commented
Version
vue-final-modal: ^4.5.4
vue: ^3.4.29
OS
Windows
What is Expected?
The elements in my body are moved and the popup is opened
What is actually happening?
instead of adding padding-right: 17px; overflow: hidden; Go to the body and convert it into a class
For example: modal-open
.modal-open {
padding-right: 17px; overflow: hidden
}
I can use your modal to connect my subclasses to edit the moved elements.
Remixrty commented
or add a css-variable, which is useful with “position: fixed” case