Skip to content

Commit 078c097

Browse files
authored
1 parent c0ef738 commit 078c097

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ui/OpenchannelOGMessage/__tests__/__snapshots__/OpenchannelOGMessage.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ exports[`ui/OpenchannelOGMessage should do a snapshot test of the OpenchannelOGM
130130
>
131131
<div
132132
class="sendbird-openchannel-og-message__bottom__og-tag__thumbnail__image sendbird-image-renderer"
133-
style="width: 100%; min-width: min(400px, 400px); max-width: 400px;"
133+
style="width: 100%; min-width: min(400px, 334px); max-width: 400px;"
134134
>
135135
<div
136136
class="sendbird-image-renderer__image"
137-
style="width: 100%; min-width: min(400px, 400px); max-width: 400px; position: absolute; background-repeat: no-repeat; background-position: center; background-size: cover; background-image: url(https://static.sendbird.com/sample/profiles/profile_12_512px.png);"
137+
style="width: 100%; min-width: min(400px, 334px); max-width: 400px; position: absolute; background-repeat: no-repeat; background-position: center; background-size: cover; background-image: url(https://static.sendbird.com/sample/profiles/profile_12_512px.png);"
138138
/>
139139
<img
140140
alt="test"

src/ui/OpenchannelOGMessage/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ export default function OpenChannelOGMessage({
378378
className="sendbird-openchannel-og-message__bottom__og-tag__thumbnail__image"
379379
url={defaultImage.url || ''}
380380
alt={defaultImage.alt || ''}
381+
width="334px"
381382
height="189px"
382383
defaultComponent={(
383384
<div className="sendbird-openchannel-og-message__bottom__og-tag__thumbnail__image--placeholder">

0 commit comments

Comments
 (0)