Fixing modals for IE

This commit is contained in:
Asaad Mahmood
2016-01-28 19:38:23 +05:00
parent fa6daad64d
commit 5d92fda12d
2 changed files with 10 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ export default class NewChannelModal extends React.Component {
});
}
}
componentDidMount() {
if (Utils.isBrowserIE()) {
$('body').addClass('browser--IE');
}
}
handleSubmit(e) {
e.preventDefault();

View File

@@ -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);