fix click propagation on module header
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
$: opened = $stepOpened === String(indexes.join('-'))
|
||||
</script>
|
||||
|
||||
<div on:click|stopPropagation={() => undefined}>
|
||||
<div>
|
||||
<h3 class="text-sm font-bold text-gray-900 flex flex-col">
|
||||
<span class="text-xs shrink">
|
||||
{#if 'path' in mod.value && mod.value.path}
|
||||
@@ -57,7 +57,13 @@
|
||||
{/if}
|
||||
</span>
|
||||
{#if ('path' in mod.value && mod.value.path) || ('language' in mod.value && mod.value.language)}
|
||||
<input class="overflow-x-auto" type="text" bind:value={mod.summary} placeholder="Summary" />
|
||||
<input
|
||||
on:click|stopPropagation={() => undefined}
|
||||
class="overflow-x-auto"
|
||||
type="text"
|
||||
bind:value={mod.summary}
|
||||
placeholder="Summary"
|
||||
/>
|
||||
{/if}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user