Skip to content

Commit

Permalink
fix: allow widget overflow (#2982)
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Dec 19, 2019
1 parent 7e4d4c1 commit 01b950e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/netlify-cms-widget-code/src/CodeControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ export default class CodeControl extends React.Component {
id={forID}
className={css`
height: 100%;
border-radius: 0 3px 3px 3px;
overflow: hidden;
.CodeMirror {
height: auto;
Expand Down
2 changes: 2 additions & 0 deletions packages/netlify-cms-widget-code/src/SettingsPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ const SettingsPaneContainer = styled.div`
z-index: 10;
height: 100%;
background-color: #fff;
overflow: hidden;
overflow-y: scroll;
padding: 12px;
border-radius: 0 3px 3px 0;
${shadows.drop};
`;

Expand Down

0 comments on commit 01b950e

Please sign in to comment.