mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
Fix up new margins on modals by not setting auto until screen-sm-min
This commit is contained in:
parent
265118a6a0
commit
a52e528d27
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
@ -5899,8 +5899,6 @@ button.close {
|
|||||||
z-index: 1050;
|
z-index: 1050;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
@ -5998,8 +5996,7 @@ button.close {
|
|||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
margin-top: 30px;
|
margin: 30px auto;
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
}
|
||||||
.modal-content {
|
.modal-content {
|
||||||
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/js/bootstrap.min.js
vendored
2
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
@ -35,8 +35,6 @@
|
|||||||
// Shell div to position the modal with bottom padding
|
// Shell div to position the modal with bottom padding
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
z-index: (@zindex-modal-background + 10);
|
z-index: (@zindex-modal-background + 10);
|
||||||
@ -122,8 +120,7 @@
|
|||||||
|
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
margin-top: 30px;
|
margin: 30px auto;
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
}
|
||||||
.modal-content {
|
.modal-content {
|
||||||
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user