Enable specifying modal styling

This commit is contained in:
Robbie Antenesse 2019-09-11 23:41:05 -06:00
parent 896dc7b869
commit 8e17d0ec7e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export const modal = (modalId, controller, contentHTML, options = {}) => {
<input id=${modalId} type="checkbox" ${!isOpen ? null : 'checked'}
onchange=${() => controller.openModal = isOpen ? modalId : null }/>
<label for=${modalId} class="overlay"></label>
<article>
<article style=${typeof options.styles !== 'undefined' ? options.styles : null}>
${typeof options.headerHTML === 'undefined'
? (