瀏覽代碼

fix: the hover style of the card-item operation button container (#3520)

buu 1 年之前
父節點
當前提交
be27ac0e69
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/app/components/app/configuration/dataset-config/card-item/item.tsx

+ 1 - 1
web/app/components/app/configuration/dataset-config/card-item/item.tsx

@@ -66,7 +66,7 @@ const Item: FC<ItemProps> = ({
           )
         } */}
       </div>
-      <div className='hidden group-hover:flex items-center justify-end absolute right-0 top-0 bottom-0 pr-2 w-[124px] bg-gradient-to-r from-white/50 to-white to-50%'>
+      <div className='hidden rounded-lg group-hover:flex items-center justify-end absolute right-0 top-0 bottom-0 pr-2 w-[124px] bg-gradient-to-r from-white/50 to-white to-50%'>
         <div
           className='flex items-center justify-center mr-1 w-6 h-6 hover:bg-black/5 rounded-md cursor-pointer'
           onClick={() => setShowSettingsModal(true)}