fix: entry hover

This commit is contained in:
DIYgod 2025-02-24 22:18:59 +08:00
parent 270e3bee76
commit a350991de2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ export const PictureWaterFallItem = memo(function PictureWaterFallItem({
<EntryItemWrapper
view={FeedViewType.Pictures}
entry={entry}
itemClassName="group rounded-md overflow-hidden"
itemClassName="group rounded-md overflow-hidden hover:bg-transparent"
style={{
width: itemWidth,
}}

View File

@ -146,7 +146,7 @@ export const EntryItemWrapper: FC<
<div data-entry-id={entry.entries.id} style={style}>
<div
className={cn(
"group relative",
"relative duration-200 hover:bg-theme-item-hover",
asRead ? "text-zinc-700 dark:text-neutral-400" : "text-zinc-900 dark:text-neutral-300",
views[view as FeedViewType]?.wideMode ? "rounded-md" : "px-2",
(isActive || isContextMenuOpen) && "!bg-theme-item-active",