File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
packages/compass-indexes/src/components/create-index-form Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ const inputQueryContainerStyles = css({
1616 marginBottom : spacing [ 600 ] ,
1717 border : `1px solid ${ palette . gray . base } ` ,
1818 borderRadius : spacing [ 300 ] ,
19- padding : spacing [ 600 ] ,
2019 display : 'flex' ,
2120 flexDirection : 'column' ,
2221} ) ;
@@ -32,7 +31,14 @@ const suggestedIndexContainerStyles = css({
3231
3332const suggestedIndexButtonStyles = css ( {
3433 float : 'right' ,
35- marginTop : spacing [ 400 ] ,
34+ marginRight : spacing [ 600 ] ,
35+ marginBottom : spacing [ 600 ] ,
36+ } ) ;
37+
38+ const codeEditorStyles = css ( {
39+ '.cm-content' : {
40+ padding : spacing [ 600 ] ,
41+ } ,
3642} ) ;
3743
3844const programmingLanguageLinkStyles = css ( {
@@ -84,6 +90,7 @@ db.getSiblingDB("${db_name}").getCollection("${collection_name}").createIndex(
8490 onChangeText = { ( text ) => setInputQuery ( text ) }
8591 placeholder = "Type a query: { field: 'value' }"
8692 completer = { completer }
93+ className = { codeEditorStyles }
8794 />
8895 </ div >
8996
You can’t perform that action at this time.
0 commit comments