fixed modals on other than home page

This commit is contained in:
Danny Coates 2019-02-22 13:31:54 -08:00
parent c36466d952
commit 2c867e0ae8
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 8 additions and 7 deletions

View file

@ -4,7 +4,7 @@ const modal = require('./modal');
module.exports = function(state, emit) {
return html`
<main class="main container">
<main class="main">
${state.modal && modal(state, emit)}
<div
class="flex flex-col items-center bg-white m-6 px-6 py-8 border border-grey-light md:border-none md:px-12 md:py-16 shadow w-full md:h-full"