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