File tree 1 file changed +3
-1
lines changed
packages/gitbook/src/components/DocumentView/Table
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ export async function RecordColumnValue<Tag extends React.ElementType = 'div'>(
115
115
return < Tag className = { tcls ( [ 'w-full' , verticalAlignment ] ) } > { '' } </ Tag > ;
116
116
}
117
117
118
- const horizontalAlignment = `[&_*]:${ getColumnAlignment ( definition ) } ${ getColumnAlignment ( definition ) } ` ;
118
+ const horizontalAlignment = getColumnAlignment ( definition ) ;
119
+ const childrenHorizontalAlignment = `[&_*]:${ horizontalAlignment } ` ;
119
120
120
121
return (
121
122
< Blocks
@@ -131,6 +132,7 @@ export async function RecordColumnValue<Tag extends React.ElementType = 'div'>(
131
132
'leading-normal' ,
132
133
verticalAlignment ,
133
134
horizontalAlignment ,
135
+ childrenHorizontalAlignment ,
134
136
] }
135
137
context = { context }
136
138
blockStyle = { [ 'w-full' , 'max-w-[unset]' ] }
You can’t perform that action at this time.
0 commit comments