File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -536,24 +536,8 @@ export const ColumnBaseMixin = (superClass) =>
536
536
return ;
537
537
}
538
538
539
- let textAlignFallback ;
540
- if ( getComputedStyle ( this . _grid ) . direction === 'ltr' ) {
541
- if ( textAlign === 'start' ) {
542
- textAlignFallback = 'left' ;
543
- } else if ( textAlign === 'end' ) {
544
- textAlignFallback = 'right' ;
545
- }
546
- } else if ( textAlign === 'start' ) {
547
- textAlignFallback = 'right' ;
548
- } else if ( textAlign === 'end' ) {
549
- textAlignFallback = 'left' ;
550
- }
551
-
552
539
this . _allCells . forEach ( ( cell ) => {
553
540
cell . _content . style . textAlign = textAlign ;
554
- if ( getComputedStyle ( cell . _content ) . textAlign !== textAlign ) {
555
- cell . _content . style . textAlign = textAlignFallback ;
556
- }
557
541
} ) ;
558
542
}
559
543
You can’t perform that action at this time.
0 commit comments