Skip to content

Commit 25eb2e2

Browse files
authored
Merge pull request element-hq#1822 from vector-im/wmwragg/spinner-fix
Wmwragg/spinner fix
2 parents d8d9912 + 2810847 commit 25eb2e2

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎src/components/views/rooms/MessageContextMenu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = React.createClass({
4747
var ViewSource = sdk.getComponent('structures.ViewSource');
4848
Modal.createDialog(ViewSource, {
4949
mxEvent: this.props.mxEvent
50-
});
50+
}, 'mx_Dialog_viewsource');
5151
if (this.props.onFinished) this.props.onFinished();
5252
},
5353

‎src/skins/vector/css/common.css‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ input[type=text]:focus, textarea:focus {
148148
justify-content: center;
149149
}
150150

151+
/* Spinner Dialog overide */
152+
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog {
153+
width: auto;
154+
border-radius: 8px;
155+
padding-left: 0px;
156+
box-shadow: none;
157+
}
158+
159+
/* View Source Dialog overide */
160+
.mx_Dialog_wrapper.mx_Dialog_viewsource .mx_Dialog {
161+
padding-left: 10px;
162+
padding-right: 10px;
163+
}
164+
151165
.mx_Dialog {
152166
background-color: #fff;
153167
color: #747474;

0 commit comments

Comments
 (0)