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 88import styled , { css , DefaultTheme , ThemeProps } from 'styled-components' ;
99import { componentStyles , getColor } from '@zendeskgarden/react-theming' ;
1010import { StyledHeaderRow } from './StyledHeaderRow' ;
11+ import { StyledHeaderCell } from './StyledHeaderCell' ;
1112
1213const COMPONENT_ID = 'tables.head' ;
1314
@@ -23,11 +24,14 @@ const colorStyles = ({ theme }: ThemeProps<DefaultTheme>) => {
2324 const backgroundColor = getColor ( { variable : 'background.default' , theme } ) ;
2425
2526 return css `
26- box-shadow : inset 0 - ${ theme . borderWidths . sm } 0 ${ borderColor } ; /* [1] */
2727 background-color : ${ backgroundColor } ;
2828
2929 & > ${ StyledHeaderRow } : last-child {
3030 border-bottom-color : transparent; /* [1] */
31+
32+ & > ${ StyledHeaderCell } {
33+ box-shadow : inset 0 - ${ theme . borderWidths . sm } 0 ${ borderColor } ; /* [1] */
34+ }
3135 }
3236 ` ;
3337} ;
You can’t perform that action at this time.
0 commit comments