From 7b311c15965939f912d017adf6e7084cd7ea7e93 Mon Sep 17 00:00:00 2001 From: Mark Peace Date: Tue, 25 Sep 2018 12:48:06 +0100 Subject: [PATCH] Fix issue where editor buttons would overflow the viewport --- src/browser/modules/Editor/styled.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/modules/Editor/styled.jsx b/src/browser/modules/Editor/styled.jsx index 3376bedfba7..c122ed0c253 100644 --- a/src/browser/modules/Editor/styled.jsx +++ b/src/browser/modules/Editor/styled.jsx @@ -68,6 +68,7 @@ const BaseEditorWrapper = styled.div` props.expanded ? '100vh' : Math.max(dim.editorbarHeight, props.minHeight + editorPadding * 2)}px; + width: 0; .CodeMirror { background-color: ${props => props.theme.editorBackground} !important; color: ${props => props.theme.editorCommandColor};