aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-06-29 19:16:25 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-06-29 19:16:25 +0400
commitdc936febaa54b9f55219b939821b7e71ffbacc29 (patch)
treedacced4120694696285b5cd6065fbe83b08c9904 /src
parentMerge pull request #468 from python-discord/fix-dropdown-overlap (diff)
Expand Code Field To Fill Space
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src')
-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 {