mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +08:00
fix: right sidepanel open on focus (#5901)
fix TOV-614 Should not show sidepanel on focusing inner elemenets
This commit is contained in:
@@ -35,8 +35,12 @@ export const root = style({
|
|||||||
'&[data-is-floating="false"][data-transparent=true]': {
|
'&[data-is-floating="false"][data-transparent=true]': {
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
},
|
},
|
||||||
|
'&[data-enable-animation="false"][data-open="false"]': {
|
||||||
|
display: 'none',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export const panelContent = style({
|
export const panelContent = style({
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
|||||||
Reference in New Issue
Block a user