feat: Add transition to hover background in multiple components (#16216)

* chore: Add transition to hover background in multiple components

* chore: Add transition to hover background in multiple components
This commit is contained in:
Hichem Fantar authored and GitHub committed 2024-08-20 07:23:09 +00:00
1 parent 4ff2ce90f9
commit 50c4578c2e
39 files changed
+63 -57

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ const ChooseEmbedTypesDialogContent = ({ types }: { types: EmbedTypes }) => {
<div className="items-start space-y-2 md:flex md:space-y-0">
{types.map((embed, index) => (
<button
className="hover:bg-subtle bg-muted w-full self-stretch rounded-md border border-transparent p-6 text-left hover:rounded-md ltr:mr-4 ltr:last:mr-0 rtl:ml-4 rtl:last:ml-0 lg:w-1/3"
className="hover:bg-subtle bg-muted w-full self-stretch rounded-md border border-transparent p-6 text-left transition hover:rounded-md ltr:mr-4 ltr:last:mr-0 rtl:ml-4 rtl:last:ml-0 lg:w-1/3"
key={index}
data-testid={embed.type}
onClick={() => {