Remove ksql editor unnecessary line (#2339)

This commit is contained in:
Robert Azizbekyan 2022-08-01 21:09:26 +04:00 committed by GitHub
parent c4f97327c0
commit 9827e01047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,11 +65,13 @@ export const Fieldset = styled.fieldset`
export const SQLEditor = styled(BaseSQLEditor)(
({ readOnly, theme }) =>
readOnly &&
css`
background: ${theme.ksqlDb.query.editor.readonly.background};
background: ${readOnly && theme.ksqlDb.query.editor.readonly.background};
.ace-cursor {
${theme.ksqlDb.query.editor.readonly.cursor}
${readOnly && theme.ksqlDb.query.editor.readonly.cursor}
}
.ace_print-margin {
display: none;
}
`
);