mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #1822 from vector-im/wmwragg/spinner-fix
Wmwragg/spinner fix
This commit is contained in:
commit
25eb2e2daf
@ -47,7 +47,7 @@ module.exports = React.createClass({
|
|||||||
var ViewSource = sdk.getComponent('structures.ViewSource');
|
var ViewSource = sdk.getComponent('structures.ViewSource');
|
||||||
Modal.createDialog(ViewSource, {
|
Modal.createDialog(ViewSource, {
|
||||||
mxEvent: this.props.mxEvent
|
mxEvent: this.props.mxEvent
|
||||||
});
|
}, 'mx_Dialog_viewsource');
|
||||||
if (this.props.onFinished) this.props.onFinished();
|
if (this.props.onFinished) this.props.onFinished();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -148,6 +148,20 @@ input[type=text]:focus, textarea:focus {
|
|||||||
justify-content: center;
|
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 {
|
.mx_Dialog {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #747474;
|
color: #747474;
|
||||||
|
Loading…
Reference in New Issue
Block a user