Fix tables on playbook runs (#8997) (#9007)

(cherry picked from commit ae409d185c)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
This commit is contained in:
Mattermost Build 2025-07-18 12:22:49 +03:00 committed by GitHub
parent 0b6f92a4e4
commit 9f1a6a35b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,9 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => ({
scrollView: {
paddingHorizontal: 20,
},
markdownContainer: {
width: '100%',
},
}));
type Props = {
@ -197,14 +200,16 @@ export default function PlaybookRun({
size='m'
/>
)}
<Markdown
value={playbookRun.summary}
theme={theme}
location={componentId}
baseTextStyle={styles.infoText}
blockStyles={getMarkdownBlockStyles(theme)}
textStyles={getMarkdownTextStyles(theme)}
/>
<View style={styles.markdownContainer}>
<Markdown
value={playbookRun.summary}
theme={theme}
location={componentId}
baseTextStyle={styles.infoText}
blockStyles={getMarkdownBlockStyles(theme)}
textStyles={getMarkdownTextStyles(theme)}
/>
</View>
</View>
{(owner || participants.length > 0) && (
<View