commit 0aee4baa85e090478af298a6478330474df74b7c
parent 1ff5df5a5dbe12cbfa71699c001e2c2c68ef14eb
Author: Milan Pässler <me@pbb.lc>
Date: Fri, 7 Feb 2020 19:34:42 +0100
parent 1ff5df5a5dbe12cbfa71699c001e2c2c68ef14eb
Author: Milan Pässler <me@pbb.lc>
Date: Fri, 7 Feb 2020 19:34:42 +0100
client: center modals
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/client/js/overlays.js b/client/js/overlays.js @@ -18,7 +18,6 @@ export const showAlertModal = (text) => { export const showModal = (title, content) => { showDiv('overlay'); render(html` - <div class="modal"> <div class="modal-dialog"> <div id="modal-content" class="modal-content"> <div class="modal-header"> @@ -28,7 +27,7 @@ export const showModal = (title, content) => { <div class="modal-body">${content}</div> </div> </div> - </div>`, ElementById('overlay')); + `, ElementById('overlay')); }; export const showLoader = () => {