mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 05:58:25 +01:00
Fixes #11425: Use margin instead of padding on .modal-dialog to enable click-thru to .modal-backdrop
This commit is contained in:
parent
36b82c37ec
commit
bf9f39270c
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@ -5909,7 +5909,7 @@ button.close {
|
||||
position: relative;
|
||||
z-index: 1050;
|
||||
width: auto;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
@ -6009,8 +6009,8 @@ button.close {
|
||||
@media screen and (min-width: 768px) {
|
||||
.modal-dialog {
|
||||
width: 600px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.modal-content {
|
||||
-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
@ -38,7 +38,7 @@
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: auto;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
z-index: (@zindex-modal-background + 10);
|
||||
}
|
||||
|
||||
@ -122,8 +122,8 @@
|
||||
|
||||
.modal-dialog {
|
||||
width: 600px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.modal-content {
|
||||
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||
|
Loading…
x
Reference in New Issue
Block a user