Skip to content

Commit fa337fd

Browse files
authored
Merge pull request #4649 from coralproject/fix/tenor-image-width
add max width to tenor image
2 parents 6832754 + e872270 commit fa337fd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
.tenorMedia {
2-
maxWidth: 100px;
2+
3+
}
4+
5+
.tenorMediaImage {
6+
max-width: 100%;
37
}

client/src/core/client/stream/common/Media/TenorMedia.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const TenorMedia: FunctionComponent<Props> = ({ url, title }) => {
1515
loading="lazy"
1616
referrerPolicy="no-referrer"
1717
alt={title || ""}
18+
className={styles.tenorMediaImage}
1819
/>
1920
</div>
2021
);

0 commit comments

Comments
 (0)