a few style tweaks

This commit is contained in:
Danny Coates 2018-11-02 11:28:56 -07:00
parent cacb3a898d
commit 1c063111cc
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 10 additions and 24 deletions

View file

@ -2,9 +2,9 @@ const html = require('choo/html');
module.exports = function(state, emit) {
return html`
<div class="absolute pin flex items-center justify-center overflow-hidden z-40 bg-shades" onclick=${close}>
<div class="absolute pin flex items-center justify-center overflow-hidden z-40 bg-cloud" onclick=${close}>
<div class="h-full max-h-screen absolute pin-t flex items-center">
<div class="border-modal bg-white" onclick=${e => e.stopPropagation()}>
<div class="shadow-cloud bg-white" onclick=${e => e.stopPropagation()}>
${state.modal(state, emit, close)}
</div>
</div>