Skip to content

Commit 18678c4

Browse files
authored
Merge pull request #6 from animalnots/feature/maozdemir-sticky-top
Feature/maozdemir sticky top
2 parents c65dece + 7292ea3 commit 18678c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Chat/ChatContent/ChatTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ChatTitle = React.memo(() => {
4343
return config ? (
4444
<>
4545
<div
46-
className='flex gap-x-4 gap-y-1 flex-wrap w-full items-center justify-center border-b border-black/10 bg-gray-50 p-3 dark:border-gray-900/50 dark:bg-gray-700 text-gray-600 dark:text-gray-300 cursor-pointer'
46+
className='sticky top-0 z-10 flex gap-x-4 gap-y-1 flex-wrap w-full items-center justify-center border-b border-black/10 bg-gray-50 p-3 dark:border-gray-900/50 dark:bg-gray-700 text-gray-600 dark:text-gray-300 cursor-pointer'
4747
onClick={() => {
4848
setIsModalOpen(true);
4949
}}

0 commit comments

Comments
 (0)