File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
components/Message/MessageSimple
contexts/themeContext/utils Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ export const MessageContentWithContext = <
188188 errorIconContainer,
189189 replyBorder,
190190 replyContainer,
191+ wrapper,
191192 } ,
192193 reactionList : { radius, reactionSize } ,
193194 } ,
@@ -286,7 +287,7 @@ export const MessageContentWithContext = <
286287 testID = 'message-header'
287288 />
288289 ) }
289- < View onLayout = { onLayout } style = { { width : '100%' } } >
290+ < View onLayout = { onLayout } style = { wrapper } >
290291 { hasThreadReplies && ! threadList && repliesEnabled && ! noBorder && (
291292 < View
292293 style = { [
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ export type Theme = {
374374 textContainer : ViewStyle & {
375375 onlyEmojiMarkdown : MarkdownStyle ;
376376 } ;
377+ wrapper : ViewStyle ;
377378 } ;
378379 file : {
379380 container : ViewStyle ;
@@ -834,6 +835,7 @@ export const defaultTheme: Theme = {
834835 textContainer : {
835836 onlyEmojiMarkdown : { text : { fontSize : 50 } } ,
836837 } ,
838+ wrapper : { } ,
837839 } ,
838840 file : {
839841 container : { } ,
You can’t perform that action at this time.
0 commit comments