[v11.2.x] Table: Avoid rtl when using datalinks with units (#92039)
Table: Avoid rtl when using datalinks with units (#92038)
(cherry picked from commit d3c6e2b203)
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
This commit is contained in:
co-authored by
Drew Slobodnjak
parent
88ae7edcc9
commit
b6cfc2839c
@@ -43,7 +43,7 @@ export const TableCell = ({
|
||||
cellProps.style.minWidth = cellProps.style.width;
|
||||
const justifyContent = (cell.column as any).justifyContent;
|
||||
|
||||
if (justifyContent === 'flex-end') {
|
||||
if (justifyContent === 'flex-end' && !field.config.unit) {
|
||||
// justify-content flex-end is not compatible with cellLink overflow; use direction instead
|
||||
cellProps.style.textAlign = 'right';
|
||||
cellProps.style.direction = 'rtl';
|
||||
|
||||
Reference in New Issue
Block a user