aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/InputTypes/Code.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/InputTypes/Code.tsx b/src/components/InputTypes/Code.tsx
index 8b2abd9..7112782 100644
--- a/src/components/InputTypes/Code.tsx
+++ b/src/components/InputTypes/Code.tsx
@@ -18,6 +18,10 @@ const styles = css`
border-radius: 5px;
overflow:auto;
height: 20rem;
+
+ .cm-editor {
+ height: 100%;
+ }
`;
export default function Code(props: CodeProps): JSX.Element {