Skip to content

Commit b4b0f56

Browse files
committed
add hover in groupby
1 parent a76a974 commit b4b0f56

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
NEXT_PUBLIC_ALGOLIA_API_KEY=
2-
NEXT_PUBLIC_ALGOLIA_APP_ID=

pages/tools/components/GroupByMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const GroupByMenu = ({ transform, setTransform }: GroupByMenuProps) => {
4545
value={group.accessorKey}
4646
onClick={setGroupBy}
4747
variant={groupedBy === group.accessorKey ? 'default' : 'outline'}
48-
className={`${groupedBy === group.accessorKey ? 'text-white dark:text-slate-900 dark:bg-[#bfdbfe]' : 'dark:bg-[#0f172a] text-black dark:text-slate-300 dark:border-transparent'}`}
48+
className={`${groupedBy === group.accessorKey ? 'text-white dark:text-slate-900 dark:bg-[#bfdbfe] hover:scale-105 hover:shadow-lg' : 'dark:bg-[#0f172a] text-black dark:text-slate-300 dark:border-transparent hover:bg-slate-200 hover:border-slate-300 dark:hover:bg-slate-700 dark:hover:border-slate-600 hover:scale-105 hover:shadow-md'} transition-all duration-200`}
4949
>
5050
{group.label}
5151
</Button>

0 commit comments

Comments
 (0)