small fixes to modal
This commit is contained in:
parent
4c3db2b238
commit
88e04eb9e2
|
@ -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