Skip to content

Commit

Permalink
fix(ui): edit title button visibilty
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Oct 21, 2024
1 parent 0808bb0 commit f16bdba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/routes/conversations/[id]/details/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<div class="flex flex-row items-center justify-center flex-wrap">
<input
autofocus
class='text-3xl text-center bg-surface-900 border-none outline-none focus:outline-none pl-0.5 pt-0 focus:ring-0'
class='grow text-3xl text-center bg-surface-900 border-none outline-none focus:outline-none pl-0.5 pt-0 focus:ring-0'
type='text'
placeholder={$t('conversations.enter_name_here')}
name='title'
Expand All @@ -118,6 +118,7 @@
if (event.key === 'Escape') cancelEditTitle();
}}
/>
<div class="flex flex-none items-center justify-center">
<Button
moreClasses="h-6 w-6 rounded-md py-0 !px-0 mb-0 mr-2 bg-primary-100 flex items-center justify-center"
onClick={() => saveTitle()}
Expand All @@ -130,6 +131,7 @@
>
<SvgIcon icon='x' color='gray' size='12' />
</Button>
</div>
</div>
{:else}
<div class="flex">
Expand Down

0 comments on commit f16bdba

Please sign in to comment.