fix: remove shadow for bordered main container (#7655)

fix PD-1498
This commit is contained in:
pengx17
2024-07-30 11:38:23 +00:00
parent 482b5da02f
commit d80c80ecdd
2 changed files with 4 additions and 4 deletions
@@ -56,9 +56,6 @@ export const mainContainerStyle = style({
borderRadius: 6,
margin: '8px',
overflow: 'clip',
// TODO(@Peng): is this performance intensive?
// TODO(@catsjuice): not match with design's shadow, theme missing
filter: 'drop-shadow(0px 0px 4px rgba(66,65,73,.14))',
'@media': {
print: {
overflow: 'visible',
@@ -43,11 +43,14 @@ export const splitViewPanel = style({
},
'[data-client-border="false"] &:not([data-is-last="true"]):not([data-is-dragging="true"])':
{
borderRight: `1px solid ${cssVar('borderColor')}`,
borderRight: `0.5px solid ${cssVar('borderColor')}`,
},
'&[data-is-dragging="true"]': {
zIndex: 1,
},
'[data-client-border="true"] &': {
border: `0.5px solid ${cssVar('borderColor')}`,
},
},
});