Fixing modals for IE
Этот коммит содержится в:
@@ -22,6 +22,11 @@ export default class NewChannelModal extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
componentDidMount() {
|
||||||
|
if (Utils.isBrowserIE()) {
|
||||||
|
$('body').addClass('browser--IE');
|
||||||
|
}
|
||||||
|
}
|
||||||
handleSubmit(e) {
|
handleSubmit(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
.modal {
|
.modal {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
body.browser--IE & {
|
||||||
|
.modal-dialog {
|
||||||
|
@include translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
&.image_modal {
|
&.image_modal {
|
||||||
.modal-backdrop.in {
|
.modal-backdrop.in {
|
||||||
@include opacity(0.7);
|
@include opacity(0.7);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user