File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/tables/src/styled Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
import styled , { css , DefaultTheme , ThemeProps } from 'styled-components' ;
9
9
import { componentStyles , getColor } from '@zendeskgarden/react-theming' ;
10
10
import { StyledHeaderRow } from './StyledHeaderRow' ;
11
+ import { StyledHeaderCell } from './StyledHeaderCell' ;
11
12
12
13
const COMPONENT_ID = 'tables.head' ;
13
14
@@ -23,11 +24,14 @@ const colorStyles = ({ theme }: ThemeProps<DefaultTheme>) => {
23
24
const backgroundColor = getColor ( { variable : 'background.default' , theme } ) ;
24
25
25
26
return css `
26
- box-shadow : inset 0 - ${ theme . borderWidths . sm } 0 ${ borderColor } ; /* [1] */
27
27
background-color : ${ backgroundColor } ;
28
28
29
29
& > ${ StyledHeaderRow } : last-child {
30
30
border-bottom-color : transparent; /* [1] */
31
+
32
+ & > ${ StyledHeaderCell } {
33
+ box-shadow : inset 0 - ${ theme . borderWidths . sm } 0 ${ borderColor } ; /* [1] */
34
+ }
31
35
}
32
36
` ;
33
37
} ;
You can’t perform that action at this time.
0 commit comments