adjusted modal background and download preview
This commit is contained in:
parent
694e05f738
commit
47d75d8220
4 changed files with 9 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue