fix: overflowing of card title

This commit is contained in:
max_richter 2023-08-22 18:04:41 +02:00
parent 100d64a4d1
commit 118ad56150

View File

@ -69,8 +69,8 @@ export function Card(
{/* Recipe Card content */}
</div>
<div
class="mt-2 flex items-center gap-2"
style={{ textShadow: "0px 0px 10px black" }}
class="truncate mt-2 flex gap-2"
style={{ maxHeight: "50%",textShadow: "0px 0px 10px black" }}
>
{isYoutubeLink(link || "") && <IconBrandYoutube />}
{title}