Skip to content

Commit 8a4e970

Browse files
KianNHdaisyfaithauma
authored andcommitted
[Docs Site] Add fixed dimensions to Stream chapter thumbnails (#22090)
1 parent 616d764 commit 8a4e970

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Stream.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ if (thumbnail) {
7272
<img
7373
src={thumbnail.toString()}
7474
alt={chapter}
75-
class="rounded-sm border border-accent"
75+
width="120"
76+
height="64"
77+
class="border-accent bg-accent/10 rounded-sm border"
7678
/>
7779
<div class="flex h-full flex-col items-center justify-between">
7880
<strong class="line-clamp-2 text-xs" title={chapter}>

0 commit comments

Comments
 (0)