Skip to content

Commit 23b0f5c

Browse files
committed
updated so button does not block text
1 parent 78bfe5d commit 23b0f5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/compass-indexes/src/components/create-index-form/query-flow-section.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,26 @@ const suggestedIndexButtonStyles = css({
3737
position: 'absolute',
3838
right: spacing[600],
3939
bottom: spacing[600],
40+
marginBottom: spacing[400],
4041
});
4142

4243
const editorContainerRadius = spacing[300];
4344

4445
const codeEditorContainerStyles = css({
4546
border: `1px solid ${palette.gray.base}`,
4647
borderRadius: editorContainerRadius,
48+
marginBottom: spacing[600],
4749
});
4850

4951
const codeEditorStyles = css({
5052
borderRadius: editorContainerRadius,
5153
'& .cm-editor': {
52-
background: 'transparent !important',
54+
background: `${palette.white} !important`,
55+
borderRadius: editorContainerRadius,
5356
},
5457
'& .cm-content': {
5558
padding: spacing[600],
59+
paddingBottom: spacing[1400],
5660
},
5761
});
5862

0 commit comments

Comments
 (0)