diff options
| author | 2022-06-29 19:16:25 +0400 | |
|---|---|---|
| committer | 2022-06-29 19:16:25 +0400 | |
| commit | dc936febaa54b9f55219b939821b7e71ffbacc29 (patch) | |
| tree | dacced4120694696285b5cd6065fbe83b08c9904 /src/components | |
| parent | Merge 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/components')
| -rw-r--r-- | src/components/InputTypes/Code.tsx | 4 | 
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 { | 
