From c6ab7eebd91b71290985dd8279c4efa30025d9db Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 29 Jun 2023 09:24:31 +0800 Subject: [PATCH] fix: delete operation style error (#485) --- web/app/components/explore/item-operation/index.tsx | 4 ++-- web/app/components/explore/item-operation/style.module.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/app/components/explore/item-operation/index.tsx b/web/app/components/explore/item-operation/index.tsx index f1b0bfecb9..cc9a6cfe85 100644 --- a/web/app/components/explore/item-operation/index.tsx +++ b/web/app/components/explore/item-operation/index.tsx @@ -43,8 +43,8 @@ const ItemOperation: FC = ({ {isShowDelete && (
- - {t('explore.sidebar.action.delete')} + + {t('explore.sidebar.action.delete')}
)} diff --git a/web/app/components/explore/item-operation/style.module.css b/web/app/components/explore/item-operation/style.module.css index b3618c9e1d..1bc7d91ca4 100644 --- a/web/app/components/explore/item-operation/style.module.css +++ b/web/app/components/explore/item-operation/style.module.css @@ -28,4 +28,8 @@ body .btn { body .btn:hover { /* background-image: ; */ background-color: #F2F4F7; +} + +.deleteActionItem:hover .deleteActionItemChild { + @apply text-red-500; } \ No newline at end of file