diff --git a/kafka-ui-react-app/src/components/KsqlDb/Query/QueryForm/QueryForm.styled.ts b/kafka-ui-react-app/src/components/KsqlDb/Query/QueryForm/QueryForm.styled.ts index 1f5dcde061..a8fa1cf7af 100644 --- a/kafka-ui-react-app/src/components/KsqlDb/Query/QueryForm/QueryForm.styled.ts +++ b/kafka-ui-react-app/src/components/KsqlDb/Query/QueryForm/QueryForm.styled.ts @@ -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; } ` );