Skip to content

Commit c776d01

Browse files
authored
remove line clamp on hover for visible alt text (#394)
1 parent a0739d0 commit c776d01

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Image/index.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const noAltText = t("No alt text");
3737
class:list={[
3838
"renderable-alt",
3939
"text-body-caption",
40-
"bg-bg-gray-40 line-clamp-3 absolute top-0 mt-sm mx-sm px-[7.5px] pb-[2.5px] rounded-xl text-ellipsis",
40+
"bg-bg-gray-40 absolute top-0 mt-sm mx-sm px-[7.5px] pb-[2.5px] rounded-xl text-ellipsis",
41+
"line-clamp-3 hover:line-clamp-none",
4142
props.visibleAltTextClass,
4243
]}
4344
>

0 commit comments

Comments
 (0)