Fix colors for change and error cells in datagrid (#3422)
* Fix colors for change and error cells in datagrid * Fix borader overlapping in bottom of datagrid
This commit is contained in:
parent
b576f8f8e5
commit
0a5100c4a3
1 changed files with 2 additions and 4 deletions
|
@ -171,15 +171,14 @@ export const Datagrid: React.FC<DatagridProps> = ({
|
|||
...(changed
|
||||
? {
|
||||
themeOverride: {
|
||||
bgCell: themeValues.colors.background.surfaceBrandHighlight,
|
||||
bgCell: themeValues.colors.background.surfaceBrandSubdued,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(getCellError(item, opts)
|
||||
? {
|
||||
themeOverride: {
|
||||
bgCell:
|
||||
themeValues.colors.background.interactiveCriticalHovering,
|
||||
bgCell: themeValues.colors.background.surfaceCriticalDepressed,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
|
@ -447,7 +446,6 @@ export const Datagrid: React.FC<DatagridProps> = ({
|
|||
/>
|
||||
<Box
|
||||
position="relative"
|
||||
__marginTop="-1px"
|
||||
backgroundColor="plain"
|
||||
borderTopWidth={1}
|
||||
borderTopStyle="solid"
|
||||
|
|
Loading…
Reference in a new issue