diff --git a/src/renderer/components/virtual-table/cells/combined-title-cell.tsx b/src/renderer/components/virtual-table/cells/combined-title-cell.tsx index a8977e2d..bfa32915 100644 --- a/src/renderer/components/virtual-table/cells/combined-title-cell.tsx +++ b/src/renderer/components/virtual-table/cells/combined-title-cell.tsx @@ -5,6 +5,7 @@ import { motion } from 'framer-motion'; import { RiAlbumFill } from 'react-icons/ri'; import { generatePath } from 'react-router'; import { Link } from 'react-router-dom'; +import { SimpleImg } from 'react-simple-img'; import styled from 'styled-components'; import type { AlbumArtist, Artist } from '/@/renderer/api/types'; import { Text } from '/@/renderer/components/text'; @@ -41,8 +42,10 @@ const MetadataWrapper = styled.div` width: 100%; `; -const StyledImage = styled.img` - object-fit: cover; +const StyledImage = styled(SimpleImg)` + img { + object-fit: cover; + } `; export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams) => {