Skip to content

Commit f6f840b

Browse files
committed
fix(ui): prevent hover highlight overflow on video text elements
1 parent ae5e480 commit f6f840b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/components/Layout/HomeContent.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,13 +1587,13 @@ function Video({video}) {
15871587
data-hover="a">
15881588
<h3
15891589
className={cn(
1590-
'text-base leading-tight text-primary font-bold',
1590+
'text-base leading-tight text-primary font-bold w-fit',
15911591
video.url && 'group-hover:underline'
15921592
)}
15931593
data-hover="h3">
15941594
{video.title}
15951595
</h3>
1596-
<p className="text-tertiary text-sm leading-snug" data-hover="p">
1596+
<p className="text-tertiary text-sm leading-snug w-fit" data-hover="p">
15971597
{video.description}
15981598
</p>
15991599
</a>

0 commit comments

Comments
 (0)