Skip to content

Commit 042d506

Browse files
committed
perf: change chat style
1 parent 68e1700 commit 042d506

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
branches:
6-
- main # or whatever branch you want to use
6+
- master # or whatever branch you want to use
77

88
jobs:
99
release:

src/lib/components/chat/MessageInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@
10591059

10601060
<div
10611061
id="message-input-container"
1062-
class="flex-1 flex flex-col relative w-full max-w-3xl mx-auto shadow-lg rounded-3xl border {$temporaryChatEnabled
1062+
class="flex-1 flex flex-col relative w-full max-w-4xl mx-auto shadow-lg rounded-3xl border {$temporaryChatEnabled
10631063
? 'border-dashed border-gray-100 dark:border-gray-800 hover:border-gray-200 focus-within:border-gray-200 hover:dark:border-gray-700 focus-within:dark:border-gray-700'
10641064
: ' border-gray-100 dark:border-gray-850 hover:border-gray-200 focus-within:border-gray-100 hover:dark:border-gray-800 focus-within:dark:border-gray-800'} transition px-1 bg-white/5 dark:bg-gray-500/5 backdrop-blur-sm dark:text-gray-100 focus-within:shadow-xl"
10651065
dir={$settings?.chatDirection ?? 'auto'}

src/lib/components/layout/Sidebar/ChatItem.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@
455455
absolute {className === 'pr-2'
456456
? 'right-[8px]'
457457
: 'right-1'} top-[4px] py-1 pr-0.5 mr-1.5 pl-5 bg-linear-to-l from-80%
458+
{mouseOver ? 'visible' : 'invisible'}
458459
459460
to-transparent"
460461
on:mouseenter={(e) => {

0 commit comments

Comments
 (0)