File tree Expand file tree Collapse file tree
components/HTMLEngineProvider/HTMLRenderers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,10 @@ function TableCellRenderer({tnode}: CustomRendererProps<TBlock>) {
5252
5353 return (
5454 < View style = { [ styles . htmlTableCell , cellAlignmentStyle ] } >
55- < Text style = { [ isHeaderCell ? styles . htmlTableHeaderCellText : styles . htmlTableCellText , textAlignmentStyle ] } >
55+ < Text
56+ numberOfLines = { 1 }
57+ style = { [ isHeaderCell ? styles . htmlTableHeaderCellText : styles . htmlTableCellText , textAlignmentStyle ] }
58+ >
5659 < TNodeChildrenRenderer tnode = { tnode } />
5760 </ Text >
5861 </ View >
Original file line number Diff line number Diff line change @@ -2732,6 +2732,7 @@ const staticStyles = (theme: ThemeColors) =>
27322732 htmlTableCell : {
27332733 flex : 1 ,
27342734 minWidth : variables . htmlTableColumnMinWidth ,
2735+ maxWidth : variables . htmlTableColumnMaxWidth ,
27352736 paddingEnd : 8 ,
27362737 } ,
27372738
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export default {
138138 htmlTableRowMinHeight : 40 ,
139139 htmlTableHeaderRowMinHeight : 30 ,
140140 htmlTableColumnMinWidth : 120 ,
141+ htmlTableColumnMaxWidth : 192 ,
141142 tableGroupRowPaddingVertical : 4 ,
142143 tableGroupRowHeight : 36 ,
143144 tableCheckboxColumnWidth : 20 ,
You can’t perform that action at this time.
0 commit comments