This commit is contained in:
Timothy J. Baek
2024-10-18 14:11:13 -07:00
parent cad31f6f2b
commit 8648a330f2
5 changed files with 19 additions and 17 deletions

View File

@@ -207,7 +207,7 @@
<div bind:this={itemElement} class=" w-full {className} relative group" draggable="true">
{#if confirmEdit}
<div
class=" w-full flex justify-between rounded-lg px-[11px] py-[7px] {id === $chatId ||
class=" w-full flex justify-between rounded-lg px-[11px] py-[6px] {id === $chatId ||
confirmEdit
? 'bg-gray-200 dark:bg-gray-900'
: selected
@@ -222,7 +222,7 @@
</div>
{:else}
<a
class=" w-full flex justify-between rounded-lg px-[11px] py-[7px] {id === $chatId ||
class=" w-full flex justify-between rounded-lg px-[11px] py-[6px] {id === $chatId ||
confirmEdit
? 'bg-gray-200 dark:bg-gray-900'
: selected
@@ -267,7 +267,7 @@
: 'invisible group-hover:visible from-gray-100 dark:from-gray-950'}
absolute {className === 'pr-2'
? 'right-[8px]'
: 'right-0'} top-[5px] py-1 pr-0.5 mr-2 pl-5 bg-gradient-to-l from-80%
: 'right-0'} top-[4px] py-1 pr-0.5 mr-1.5 pl-5 bg-gradient-to-l from-80%
to-transparent"
on:mouseenter={(e) => {