diff options
Diffstat (limited to 'frontend/src/components/Inputs/Code.js')
| -rw-r--r-- | frontend/src/components/Inputs/Code.js | 6 |
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%; |