Skip to content

Commit 9fc0be6

Browse files
authored
fix(compass-schema): sticky copy button COMPASS-9141 (#6804)
1 parent 68d0400 commit 9fc0be6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/compass-schema/src/components/export-schema-modal.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,17 @@ const contentContainerStyles = css({
4545
});
4646

4747
const codeEditorContainerStyles = css({
48-
maxHeight: `${spacing[1600] * 4 - spacing[800]}px`,
49-
overflow: 'auto',
48+
height: `${spacing[1600] * 4 - spacing[400]}px`,
49+
padding: spacing[100],
5050
});
5151

5252
const codeStyles = css({
5353
'& .cm-editor': {
54-
paddingLeft: spacing[2],
54+
paddingLeft: spacing[200],
55+
maxHeight: `${spacing[1600] * 4 - spacing[800]}px`,
56+
},
57+
'& .multiline-editor-actions': {
58+
marginRight: spacing[300],
5559
},
5660
});
5761

0 commit comments

Comments
 (0)