Skip to content

Commit

Permalink
move archive and delete buttons above iframe
Browse files Browse the repository at this point in the history
to avoid problem with too long empty iframe content
  • Loading branch information
magicznyleszek committed Mar 28, 2019
1 parent 74e123a commit 74c8f31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jsapp/js/components/modalForms/projectSettings.es6
Original file line number Diff line number Diff line change
Expand Up @@ -867,12 +867,6 @@ class ProjectSettings extends React.Component {
</bem.Modal__footer>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING && this.props.iframeUrl &&
<bem.FormView__cell m='iframe'>
<iframe src={this.props.iframeUrl} />
</bem.FormView__cell>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING &&
<bem.FormModal__item>
<bem.FormModal__item m='inline'>
Expand Down Expand Up @@ -914,6 +908,12 @@ class ProjectSettings extends React.Component {
</button>
</bem.FormModal__item>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING && this.props.iframeUrl &&
<bem.FormView__cell m='iframe'>
<iframe src={this.props.iframeUrl} />
</bem.FormView__cell>
}
</bem.FormModal__item>
</bem.FormModal__form>
);
Expand Down

0 comments on commit 74c8f31

Please sign in to comment.