File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/main/src/components/AnalyticalTable Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ const styles = {
59
59
position : 'relative' ,
60
60
width : '100%' ,
61
61
overflowX : 'hidden' ,
62
- padding : `0 0.5rem`
62
+ padding : `0 0.5rem` ,
63
+ boxSizing : 'border-box'
63
64
} ,
64
65
iconContainer : {
65
66
display : 'inline-block' ,
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { VerticalAlign } from '@ui5/webcomponents-react/lib/VerticalAlign';
4
4
import { CSSProperties } from 'react' ;
5
5
6
6
const getCellProps = ( cellProps , { cell : { column } , instance } ) => {
7
- const lastColumnId = instance . columns [ instance . columns . length - 1 ] ?. id ;
8
- const columnIndex = instance . columns . findIndex ( ( { id } ) => id === column . id ) ;
7
+ const lastColumnId = instance . visibleColumns [ instance . visibleColumns . length - 1 ] ?. id ;
8
+ const columnIndex = instance . visibleColumns . findIndex ( ( { id } ) => id === column . id ) ;
9
9
const { classes } = instance . webComponentsReactProperties ;
10
10
const style : CSSProperties = { } ;
11
11
You can’t perform that action at this time.
0 commit comments