aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs
diff options
context:
space:
mode:
authorJacky Zhao <[email protected]>2021-04-11 15:06:48 -0700
committerGitHub <[email protected]>2021-04-11 15:06:48 -0700
commit82bda5ee85efbd2eae25427a839529d5e230eeaa (patch)
tree1f7a88938fd6664a9a048503a5a78d010e3db1e2 /frontend/src/components/Inputs
parentMerge pull request #72 from jackyzha0/no-ip (diff)
parentreadd preset height (diff)
downloadctrl-v-82bda5ee85efbd2eae25427a839529d5e230eeaa.tar.xz
ctrl-v-82bda5ee85efbd2eae25427a839529d5e230eeaa.zip
Merge pull request #74 from jackyzha0/next-refactor
Diffstat (limited to 'frontend/src/components/Inputs')
-rw-r--r--frontend/src/components/Inputs/Code.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/src/components/Inputs/Code.js b/frontend/src/components/Inputs/Code.js
index adb1536..6d1b35c 100644
--- a/frontend/src/components/Inputs/Code.js
+++ b/frontend/src/components/Inputs/Code.js
@@ -6,11 +6,15 @@ import {Highlighter} from "../renderers/Code";
import {CodeLike, Hover} from "../Common/mixins";
const Wrapper = styled.div`
+ display: block;
position: relative;
+ width: calc(100%);
`
+
const EditorWrapper = styled(Editor)`
overflow: visible !important;
-
+ position: relative;
+
& > * {
padding: 0 !important;
width: 100%;