small fixes to modal
This commit is contained in:
parent
635e2cc64c
commit
cf2e00146d
|
@ -8,11 +8,6 @@
|
|||
import Context from "../context"
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
export let padding = true
|
||||
export let width = ''
|
||||
export let border = true
|
||||
export let dismissable = true
|
||||
|
||||
let visible = false
|
||||
$: dispatch(visible ? "show" : "hide")
|
||||
|
||||
|
@ -51,4 +46,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</Portal>
|
||||
{/if}
|
||||
{/if}
|
Loading…
Reference in New Issue