Skip to content

Commit

Permalink
make schema editor take up full height (#21000)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmossman authored Jan 4, 2023
1 parent 753241d commit 08e6d99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
display: flex;
flex-direction: column;
gap: variables.$spacing-md;
height: 100%;
}

.heading {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ $controlButtonWidth: 24px;
.errorMessage {
color: colors.$red;
}

.schemaEditor {
height: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const StreamConfigView: React.FC<StreamConfigViewProps> = ({ streamNum })
</BuilderCard>
</>
) : (
<BuilderCard>
<BuilderCard className={styles.schemaEditor}>
<SchemaEditor streamFieldPath={streamFieldPath} />
</BuilderCard>
)}
Expand Down Expand Up @@ -171,7 +171,6 @@ const SchemaEditor = ({ streamFieldPath }: { streamFieldPath: (fieldPath: string
return (
<>
<CodeEditor
height="500px"
value={field.value || ""}
language="json"
theme="airbyte-light"
Expand Down

0 comments on commit 08e6d99

Please sign in to comment.