fix(core-app): CB-1739 CB-1829 nav tree behaviour

This commit is contained in:
Wroud
2022-03-22 00:38:27 +03:00
parent ac7297ec4f
commit 7140230b4e
7 changed files with 30 additions and 22 deletions
@@ -38,11 +38,11 @@ const styles = css`
display: flex;
flex-direction: column;
justify-content: space-between;
overflow: auto;
}
actions {
width: 32px;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
@@ -66,6 +66,7 @@ const styles = css`
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
StaticImage {
@@ -91,7 +92,7 @@ export const SqlEditor = observer<ISqlEditorProps>(function SqlEditor({ state, c
editor?.focus();
}, [editor]);
function preventFocus(event: React.MouseEvent<HTMLButtonElement, MouseEvent>) {
function preventFocus(event: React.MouseEvent<HTMLButtonElement>) {
event.preventDefault();
}