fix(pdf): show search results when navigating to new page, closes #3148 (#3513)

This commit is contained in:
Huang Xin
2026-03-12 00:55:58 +08:00
committed by GitHub
parent 64a71e25e4
commit af649edd0d
2 changed files with 5 additions and 2 deletions
@@ -72,7 +72,10 @@ const BookCover: React.FC<BookCoverProps> = memo<BookCoverProps>(
<img
src={book.metadata?.coverImageUrl || book.coverImageUrl!}
alt={book.title}
className={clsx('cover-image crop-cover-img object-cover', imageClassName)}
className={clsx(
'cover-image crop-cover-img h-full w-full object-cover',
imageClassName,
)}
onLoad={handleImageLoad}
onError={handleImageError}
/>