diff --git a/imeeting-h5/src/components/preview/MeetingPreviewView.css b/imeeting-h5/src/components/preview/MeetingPreviewView.css index e162db2..152dbd2 100644 --- a/imeeting-h5/src/components/preview/MeetingPreviewView.css +++ b/imeeting-h5/src/components/preview/MeetingPreviewView.css @@ -459,11 +459,12 @@ } .meeting-preview-markdown table { - width: max-content; - min-width: 100%; + width: 100%; + max-width: 100%; margin: 12px 0 16px; border-collapse: collapse; border-spacing: 0; + table-layout: fixed; font-size: 14px; line-height: 1.6; } @@ -475,6 +476,8 @@ text-align: left; vertical-align: top; overflow-wrap: anywhere; + word-break: break-word; + white-space: normal; } .meeting-preview-markdown th { diff --git a/imeeting-h5/src/styles/global.css b/imeeting-h5/src/styles/global.css index 4273c42..41bd7c8 100644 --- a/imeeting-h5/src/styles/global.css +++ b/imeeting-h5/src/styles/global.css @@ -398,11 +398,12 @@ button { } .markdown-body table { - width: max-content; - min-width: 100%; + width: 100%; + max-width: 100%; margin: 12px 0 16px; border-collapse: collapse; border-spacing: 0; + table-layout: fixed; font-size: 14px; line-height: 1.6; } @@ -414,6 +415,8 @@ button { text-align: left; vertical-align: top; overflow-wrap: anywhere; + word-break: break-word; + white-space: normal; } .markdown-body th {