mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing modals for IE
This commit is contained in:
@@ -22,6 +22,11 @@ export default class NewChannelModal extends React.Component {
|
||||
});
|
||||
}
|
||||
}
|
||||
componentDidMount() {
|
||||
if (Utils.isBrowserIE()) {
|
||||
$('body').addClass('browser--IE');
|
||||
}
|
||||
}
|
||||
handleSubmit(e) {
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
@@ -10,6 +10,11 @@
|
||||
.modal {
|
||||
width: 100%;
|
||||
color: #333;
|
||||
body.browser--IE & {
|
||||
.modal-dialog {
|
||||
@include translateY(0);
|
||||
}
|
||||
}
|
||||
&.image_modal {
|
||||
.modal-backdrop.in {
|
||||
@include opacity(0.7);
|
||||
|
||||
Reference in New Issue
Block a user