From 7c3cb6a6eb5a10891315b9604f0c7923488ebeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 11 Sep 2024 17:52:38 +0200 Subject: [PATCH] pl-fe: display animated emojis on hover unless specified otherwise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../src/components/sidebar-navigation-link.tsx | 4 ++-- .../src/components/status-reactions-bar.tsx | 2 +- packages/pl-fe/src/components/still-image.tsx | 12 +++++++++--- .../pl-fe/src/components/ui/emoji/emoji.tsx | 18 ++++++++++++++++-- .../modals/edit-bookmark-folder-modal.tsx | 2 +- 5 files changed, 29 insertions(+), 9 deletions(-) diff --git a/packages/pl-fe/src/components/sidebar-navigation-link.tsx b/packages/pl-fe/src/components/sidebar-navigation-link.tsx index ad773d8d7..c131ec22f 100644 --- a/packages/pl-fe/src/components/sidebar-navigation-link.tsx +++ b/packages/pl-fe/src/components/sidebar-navigation-link.tsx @@ -45,7 +45,7 @@ const SidebarNavigationLink = React.forwardRef((props: ISidebarNavigationLink, r ref={ref} onClick={handleClick} className={clsx({ - 'flex items-center py-2 text-sm font-semibold space-x-4 rtl:space-x-reverse transition-colors duration-200': true, + 'group flex items-center py-2 text-sm font-semibold space-x-4 rtl:space-x-reverse transition-colors duration-200': true, 'text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200': !isActive, 'text-gray-900 dark:text-white': isActive, })} @@ -53,7 +53,7 @@ const SidebarNavigationLink = React.forwardRef((props: ISidebarNavigationLink, r diff --git a/packages/pl-fe/src/components/status-reactions-bar.tsx b/packages/pl-fe/src/components/status-reactions-bar.tsx index 838068fe2..f763a504e 100644 --- a/packages/pl-fe/src/components/status-reactions-bar.tsx +++ b/packages/pl-fe/src/components/status-reactions-bar.tsx @@ -59,7 +59,7 @@ const StatusReaction: React.FC = ({ reaction, status, obfuscate return (