adjusted modal background and download preview

This commit is contained in:
Danny Coates 2019-02-21 16:43:15 -08:00
parent 694e05f738
commit 47d75d8220
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 9 additions and 11 deletions

View file

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