mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed panel stacking
This commit is contained in:
parent
8b0a7e3681
commit
86622d6aa6
1 changed files with 14 additions and 15 deletions
|
@ -47,7 +47,7 @@ const NodePanel: FC<IProps> = memo(
|
|||
|
||||
return (
|
||||
<div className={styles.place} ref={ref}>
|
||||
{stack ? (
|
||||
{stack &&
|
||||
createPortal(
|
||||
<NodePanelInner
|
||||
node={node}
|
||||
|
@ -62,8 +62,8 @@ const NodePanel: FC<IProps> = memo(
|
|||
stack
|
||||
/>,
|
||||
document.body
|
||||
)
|
||||
) : (
|
||||
)}
|
||||
|
||||
<NodePanelInner
|
||||
node={node}
|
||||
onEdit={onEdit}
|
||||
|
@ -75,7 +75,6 @@ const NodePanel: FC<IProps> = memo(
|
|||
can_star={can_star}
|
||||
is_loading={is_loading}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue