diff --git a/src/components/content-tab-overview.tsx b/src/components/content-tab-overview.tsx index 91ab83971..faa5d5a52 100644 --- a/src/components/content-tab-overview.tsx +++ b/src/components/content-tab-overview.tsx @@ -209,7 +209,7 @@ export function ContentTabOverview( { selectedSite }: ContentTabOverviewProps ) setIsThumbnailError( true ) } onLoad={ () => setIsThumbnailError( false ) } - className={ ! isThumbnailError ? 'w-full h-full' : 'absolute invisible' } + className="w-full h-full" src={ thumbnailData || '' } alt={ themeDetails?.name } /> @@ -227,30 +227,34 @@ export function ContentTabOverview( { selectedSite }: ContentTabOverviewProps ) ! loading && 'hover:border-a8c-blue-50 duration-300' ) } > - { isThumbnailError && ! loading && ( -
- { __( 'Preview unavailable' ) } -
- ) } { ! loading && ( ) }