mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Added an overide for the view source so that it behaves correctly with the new Modal. Also tweaked the spinner overide
This commit is contained in:
parent
3cfcc13387
commit
28108476bd
2 changed files with 9 additions and 1 deletions
|
@ -47,7 +47,7 @@ module.exports = React.createClass({
|
|||
var ViewSource = sdk.getComponent('structures.ViewSource');
|
||||
Modal.createDialog(ViewSource, {
|
||||
mxEvent: this.props.mxEvent
|
||||
});
|
||||
}, 'mx_Dialog_viewsource');
|
||||
if (this.props.onFinished) this.props.onFinished();
|
||||
},
|
||||
|
||||
|
|
|
@ -148,10 +148,18 @@ input[type=text]:focus, textarea:focus {
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Spinner Dialog overide */
|
||||
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog {
|
||||
width: auto;
|
||||
border-radius: 8px;
|
||||
padding-left: 0px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* View Source Dialog overide */
|
||||
.mx_Dialog_wrapper.mx_Dialog_viewsource .mx_Dialog {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.mx_Dialog {
|
||||
|
|
Loading…
Reference in a new issue