File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/lib/components/tablev2 Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import { HeaderGroup } from 'react-table';
88import { Icon } from '../icon/Icon.component' ;
99import { FocusVisibleStyle } from '../buttonv2/Buttonv2.component' ;
1010import { spacing } from '../../spacing' ;
11- import { Box } from '../box/Box' ;
1211
1312const borderSize = '4px' ;
1413export const SortIncentive = styled . span `
@@ -65,7 +64,6 @@ export const HeadRow = styled.div<HeadRowType>`
6564 overflow: hidden;
6665 border-bottom: 1px solid
6766 ${ ( props ) => props . theme [ props . separationLineVariant ] } ;
68- padding-right: ${ borderSize } ;
6967 padding-left: ${ spacing . r16 } ;
7068` ;
7169
@@ -105,7 +103,7 @@ export const TableRow = styled.div<TableRowType>`
105103 if ( props . selectedId && props . isSelected ) {
106104 return css `
107105 background-color: ${ props . theme . highlight } ;
108- border-right: ${ borderSize } solid ${ props . theme . selectedActive } ;
106+ box-shadow: inset - ${ borderSize } 0 0 ${ props . theme . selectedActive } ;
109107 ` ;
110108 }
111109 } }
@@ -124,7 +122,7 @@ export const TableRowMultiSelectable = styled.div<TableRowMultiSelectableType>`
124122 if ( props . isSelected ) {
125123 return css `
126124 background-color: ${ ( props ) => props . theme . highlight } ;
127- border-right: ${ borderSize } solid ${ props . theme . selectedActive } ;
125+ box-shadow: inset - ${ borderSize } 0 0 ${ props . theme . selectedActive } ;
128126 ` ;
129127 }
130128 } }
You can’t perform that action at this time.
0 commit comments