Skip to content

Commit

Permalink
(webapp)fix:media-card text-start
Browse files Browse the repository at this point in the history
  • Loading branch information
Bran18 committed Jul 25, 2024
1 parent 861e02d commit 75957f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/webapp/components/shared/media-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function MediaCard({ video, lang }: MediaCardProps) {
lang={lang}
video={video}
trigger={
<Card className="p-0 overflow-hidden list-none bg-transparent cursor-pointer group border-muted md:max-h-space-465">
<Card className="p-0 overflow-hidden list-none bg-transparent cursor-pointer border-muted group md:max-h-space-465">
<div className="m-3">
<figure className="relative h-[215px] w-full overflow-hidden rounded-md">
<Image
Expand All @@ -33,8 +33,8 @@ export function MediaCard({ video, lang }: MediaCardProps) {
</figure>
</div>
<CardContent className="px-3 mt-2">
<p className="pt-3 font-semibold leading-tight text-center mb-overflow-hidden truncate_text truncate_text--3-lines text-md">
<Balancer>{video.snippet.title}</Balancer>
<p className="pt-3 font-semibold leading-tight text-start mb-overflow-hidden truncate_text truncate_text--3-lines text-md">
<Balancer>{video.snippet.title}</Balancer>
</p>
</CardContent>
</Card>
Expand Down

0 comments on commit 75957f5

Please sign in to comment.