mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Making modal work with max width 767px - fixes #4860
This commit is contained in:
+4
-1
@@ -872,8 +872,11 @@
|
|||||||
width: auto;
|
width: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
.modal.fade {
|
||||||
|
top: -100px;
|
||||||
|
}
|
||||||
.modal.fade.in {
|
.modal.fade.in {
|
||||||
top: auto;
|
top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,8 @@
|
|||||||
right: 20px;
|
right: 20px;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
&.fade.in { top: auto; }
|
&.fade { top: -100px; }
|
||||||
|
&.fade.in { top: 20px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user