Skip to content

Commit

Permalink
feat: custom resize-trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Sep 10, 2024
1 parent 717f0d6 commit d889f8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/admin/src/pages/chat/components/ChatPanel/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ const maxChatPanelHeight = computed(() => {
<template #2>
<MessageInputArea />
</template>
<template #resize-trigger>
<div
class="resize-trigger h-full flex justify-center items-center rounded-md bg-transparent hover:bg-[--primary-color] transition-colors duration-300"
/>
</template>
</NSplit>
</template>

Expand Down

0 comments on commit d889f8b

Please sign in to comment.