Update dependencies
This commit is contained in:
@@ -28,7 +28,15 @@ export let highlight = false
|
||||
</script>
|
||||
|
||||
<div class="expandable">
|
||||
<div class="header" class:click_expand class:highlight on:click={header_click} on:keypress={keypress}>
|
||||
<div
|
||||
class="header"
|
||||
class:click_expand
|
||||
class:highlight
|
||||
role="button"
|
||||
tabindex="0"
|
||||
on:click={header_click}
|
||||
on:keypress={keypress}
|
||||
>
|
||||
<div class="title">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
|
@@ -49,8 +49,17 @@ const keydown = e => {
|
||||
<svelte:window on:keydown={keydown}/>
|
||||
|
||||
{#if visible}
|
||||
<div class="background" use:load_bg on:click={hide} transition:fade={{duration: 200}} on:keydown={keydown}>
|
||||
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
||||
<div
|
||||
class="background"
|
||||
use:load_bg
|
||||
on:click={hide}
|
||||
transition:fade={{duration: 200}}
|
||||
on:keydown={keydown}
|
||||
role="dialog"
|
||||
>
|
||||
<div class="top_padding"></div>
|
||||
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
||||
<div
|
||||
class="window"
|
||||
class:small_radius={form !== ""}
|
||||
|
Reference in New Issue
Block a user