fix click propagation on module header

This commit is contained in:
Ruben Fiszel
2022-08-23 22:30:35 +02:00
parent 155a6ea30f
commit 667d2e2ef1

View File

@@ -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>