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