fix: hide browse add column after blur
ci/woodpecker/push/woodpecker Pipeline failed Details

feat/axum
Tomáš Mládek 2023-09-06 21:20:21 +02:00
parent a29d66d829
commit a4c915f73f
1 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,9 @@
dispatch("input", ev.detail);
editable = false;
}}
on:focus={(ev) => {
if (!ev.detail) editable = false;
}}
/>
</div>
{/if}
@ -47,7 +50,10 @@
cursor: pointer;
transition: opacity 0.3s, width 0.5s, min-width 0.5s;
transition:
opacity 0.3s,
width 0.5s,
min-width 0.5s;
opacity: 0.4;
width: 48px;