fix: event modal input styles

This commit is contained in:
tglide committed 2023-01-30 18:25:31 +00:00
1 parent bf14907540
commit 020a08df12
1 file changed
+5 -1
+5 -1
View File
@@ -326,7 +326,11 @@
</div>
{:else}
<div class="input-text-wrapper" style="--amount-of-buttons:2" bind:this={copyParent}>
<div style="min-height: 2.5rem;">
<!--
This object syntax avoids TS erroring because 'type' isn't a valid HTMLDivElement attribute
(we need to set it to 'text' to add styling)
-->
<div {...{ type: 'text' }} style="min-height: 2.5rem;">
{#each eventString as route, i}
<span
class:u-opacity-0-5={helper !== route.description}