Skip to content

Commit

Permalink
Merge pull request #4649 from coralproject/fix/tenor-image-width
Browse files Browse the repository at this point in the history
add max width to tenor image
  • Loading branch information
tessalt committed Jul 18, 2024
2 parents 6832754 + e872270 commit fa337fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/src/core/client/stream/common/Media/TenorMedia.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.tenorMedia {
maxWidth: 100px;

}

.tenorMediaImage {
max-width: 100%;
}
1 change: 1 addition & 0 deletions client/src/core/client/stream/common/Media/TenorMedia.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const TenorMedia: FunctionComponent<Props> = ({ url, title }) => {
loading="lazy"
referrerPolicy="no-referrer"
alt={title || ""}
className={styles.tenorMediaImage}
/>
</div>
);
Expand Down

0 comments on commit fa337fd

Please sign in to comment.