Skip to content

Commit

Permalink
fix #986 cannot edit data in Enketo due to lack of a scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed Oct 21, 2016
1 parent 8279719 commit 0f61d78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jsapp/js/components/formEditors.es6
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ var ProjectSettings = React.createClass({
</bem.FormModal__item>

{this.props.context == 'existingForm' && this.props.iframeUrl &&
<iframe src={this.props.iframeUrl} />
<iframe src={this.props.iframeUrl} className="kc-settings-iframe" />
}
{this.props.context == 'newForm' &&
<bem.FormModal__item m='actions'>
Expand Down
9 changes: 8 additions & 1 deletion jsapp/scss/components/_kobo.report-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,15 @@

iframe {
width:100%;
min-height: 800px;
height:100%;
overflow: auto;
padding-right: 5px;
&.kc-settings-iframe {
min-height:800px;
border:none;
border-top:1px solid #DDD;
margin-top: 20px;
}
}

.form-modal__item--actions {
Expand Down

0 comments on commit 0f61d78

Please sign in to comment.