-
Notifications
You must be signed in to change notification settings - Fork 662
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
When adding custom close button. Default one stay usable #9218
Conversation
When we add a custom close button, it show 2 close buttons
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@crochefort can you also make the adjustment in the instruction on how to add the close button here:
- https://github.com/wet-boew/wet-boew/blob/master/src/plugins/overlay/overlay-en.hbs#L226
- https://github.com/wet-boew/wet-boew/blob/master/src/plugins/overlay/overlay-fr.hbs#L228
Thank you
@duboisp No need to edit the documentation since it was OK in the doc. |
@crochefort Can you update the following line in the working example page: <button class="btn btn-primary popup-modal-dismiss" type="button">Close overlay/modal</button> Need to be updated like: <button class="btn btn-primary overlay-close" type="button">Close overlay/modal</button> Change is to replace "popup-modal-dismiss" with "overlay-close". |
Change is to replace "popup-modal-dismiss" with "overlay-close".
Change is to replace "popup-modal-dismiss" with "overlay-close".
@duboisp Should be ok I think! |
Co-authored-by: Pierre Dubois <duboisp2@gmail.com>
When we add a custom close button, it show 2 close buttons
What does this pull request (PR) do? / Que fait cette demande « pull » (PR)?
Fix only class overlay-close is needed for overlay not lightbox
Screenshots / Captures d'écrans
@duboisp