Hotfix: was using a variable in generated css classes which isn't possible

This commit is contained in:
DrMint 2022-04-23 22:25:49 +02:00
parent cb4787ea42
commit 80f78d9940
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ export default function ThumbnailPreview(props: Props): JSX.Element {
</div> </div>
) : ( ) : (
<div <div
className={`w-full aspect-[${thumbnailAspectRatio}] bg-light ${ style={{ aspectRatio: thumbnailAspectRatio }}
className={`w-full bg-light ${
keepInfoVisible keepInfoVisible
? "rounded-t-md" ? "rounded-t-md"
: "rounded-md coarse:rounded-b-none" : "rounded-md coarse:rounded-b-none"