Remove ksql editor unnecessary line (#2339)
This commit is contained in:
parent
c4f97327c0
commit
9827e01047
1 changed files with 5 additions and 3 deletions
|
@ -65,11 +65,13 @@ export const Fieldset = styled.fieldset`
|
||||||
|
|
||||||
export const SQLEditor = styled(BaseSQLEditor)(
|
export const SQLEditor = styled(BaseSQLEditor)(
|
||||||
({ readOnly, theme }) =>
|
({ readOnly, theme }) =>
|
||||||
readOnly &&
|
|
||||||
css`
|
css`
|
||||||
background: ${theme.ksqlDb.query.editor.readonly.background};
|
background: ${readOnly && theme.ksqlDb.query.editor.readonly.background};
|
||||||
.ace-cursor {
|
.ace-cursor {
|
||||||
${theme.ksqlDb.query.editor.readonly.cursor}
|
${readOnly && theme.ksqlDb.query.editor.readonly.cursor}
|
||||||
|
}
|
||||||
|
.ace_print-margin {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue