Skip to content

Commit c4b163f

Browse files
committed
fix: enhance mode menu button with transition effects and rotation
1 parent bc9ac7a commit c4b163f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom/ChatFooter.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
transition-colors duration-200 hover:bg-gray-100
3636
dark:text-darkListTableHeadingText dark:bg-gray-700 dark:hover:bg-gray-800"
3737
:class="isModeMenuOpen ? 'bg-gray-100 dark:bg-gray-700' : ''"
38-
:disabled="agentStore.isResponseInProgress"
3938
title="Select mode"
4039
type="button"
4140
@click="toggleModeMenu"
4241
>
4342
{{ agentStore.activeModeName }}
4443
<IconAngleDownOutline
45-
class="w-4 h-4 ml-1"
44+
class="w-4 h-4 ml-1 transition-transform duration-200"
45+
:class="isModeMenuOpen ? '!rotate-180' : '!rotate-0'"
4646
/>
4747
</button>
4848

0 commit comments

Comments
 (0)