chore: Add transition effects in UI components (#15841)
* chore: Add transition to hover effects in UI components * chore: Add transition to hover effects in UI components * Update ToggleGroup component transition --------- Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
1 parent
a4b0fdba7b
commit
c870df7027
8 files changed
+9
-9
No files matched your search
@@ -102,7 +102,7 @@ function CategoryTab({ selectedCategory, categories, searchText }: CategoryTabPr
|
||||
}}
|
||||
className={classNames(
|
||||
selectedCategory === null ? "bg-emphasis text-default" : "bg-muted text-emphasis",
|
||||
"hover:bg-emphasis min-w-max rounded-md px-4 py-2.5 text-sm font-medium hover:cursor-pointer"
|
||||
"hover:bg-emphasis min-w-max rounded-md px-4 py-2.5 text-sm font-medium transition hover:cursor-pointer"
|
||||
)}>
|
||||
{t("all")}
|
||||
</li>
|
||||
@@ -122,7 +122,7 @@ function CategoryTab({ selectedCategory, categories, searchText }: CategoryTabPr
|
||||
}}
|
||||
className={classNames(
|
||||
selectedCategory === cat ? "bg-emphasis text-default" : "bg-muted text-emphasis",
|
||||
"hover:bg-emphasis rounded-md px-4 py-2.5 text-sm font-medium hover:cursor-pointer"
|
||||
"hover:bg-emphasis rounded-md px-4 py-2.5 text-sm font-medium transition hover:cursor-pointer"
|
||||
)}>
|
||||
{cat[0].toUpperCase() + cat.slice(1)}
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user