✨(pdf) fix table cell alignment issue in exported documents
ensures correct horizontal alignment of text based on cell props Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
@@ -20,6 +20,7 @@ and this project adheres to
|
||||
- 🐛(docx) fix image overflow by limiting width to 600px during export #1525
|
||||
- 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
|
||||
- 🐛(frontend) fix pdf embed to use full width #1526
|
||||
- 🐛(pdf) fix table cell alignment issue in exported documents #1582
|
||||
|
||||
## [3.9.0] - 2025-11-10
|
||||
|
||||
|
||||
@@ -103,7 +103,15 @@ export const blockMappingTablePDF: DocsExporterPDF['mappings']['blockMapping']['
|
||||
|
||||
return (
|
||||
<TD key={colIndex} style={arrayStyle}>
|
||||
<Text style={styles.cell}>
|
||||
<Text
|
||||
style={[
|
||||
styles.cell,
|
||||
{
|
||||
width: '100%',
|
||||
textAlign: cellProps.textAlignment ?? 'left',
|
||||
},
|
||||
]}
|
||||
>
|
||||
{exporter.transformInlineContent(cell)}
|
||||
</Text>
|
||||
</TD>
|
||||
|
||||
Reference in New Issue
Block a user