added wide layout

This commit is contained in:
Danny Coates 2018-10-25 13:28:06 -07:00
parent 7838ad586d
commit 211404237a
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
9 changed files with 23 additions and 19 deletions

View file

@ -3,7 +3,8 @@ const html = require('choo/html');
module.exports = function(state, emit) {
return html`
<div class="fixed pin flex items-center justify-center overflow-hidden z-40 bg-shades" onclick=${close}>
<div class="rounded max-w-md bg-white" onclick=${e => e.stopPropagation()}>
<div class="rounded max-w-md bg-white m-1" onclick=${e =>
e.stopPropagation()}>
${state.modal(state, emit, close)}
</div>
</div>`;