fix(challenges): Hide second scrollbar in challenge preview pane (#16737)

Closes #16695
This commit is contained in:
Justin Pitts
2018-02-26 07:44:42 -05:00
committed by Stuart Taylor
parent 11df3f3b0d
commit f93fbe30a1
2 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,8 @@ export function Pane({
position: 'absolute', position: 'absolute',
right: right + '%', right: right + '%',
top: 0, top: 0,
paddingLeft: '4px', paddingLeft: '0px',
paddingRight: '4px' paddingRight: '0px'
}; };
return ( return (
<div style={ style }> <div style={ style }>

View File

@ -227,6 +227,7 @@
.@{ns}-preview { .@{ns}-preview {
.max-element-height(); .max-element-height();
width: 100%; width: 100%;
overflow-y: hidden;
} }
.@{ns}-preview-frame { .@{ns}-preview-frame {