mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-21 23:10:23 +00:00
Update modals to use more consistent padding—modal body and footer now match modal header
This commit is contained in:
parent
4ccf088a24
commit
7e551ecaf7
7 changed files with 6 additions and 6 deletions
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
|
|
@ -5184,10 +5184,10 @@ button.close {
|
|||
}
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
padding: 15px;
|
||||
}
|
||||
.modal-footer {
|
||||
padding: 19px 20px 20px;
|
||||
padding: 15px;
|
||||
text-align: right;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.css.map
vendored
BIN
dist/css/bootstrap.css.map
vendored
Binary file not shown.
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
BIN
docs/dist/css/bootstrap.css.map
vendored
BIN
docs/dist/css/bootstrap.css.map
vendored
Binary file not shown.
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
// Footer (for actions)
|
||||
.modal-footer {
|
||||
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
|
||||
padding: @modal-inner-padding;
|
||||
text-align: right; // right align buttons
|
||||
border-top: 1px solid @modal-footer-border-color;
|
||||
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
||||
|
|
|
|||
|
|
@ -558,7 +558,7 @@
|
|||
//##
|
||||
|
||||
//** Padding applied to the modal body
|
||||
@modal-inner-padding: 20px;
|
||||
@modal-inner-padding: 15px;
|
||||
|
||||
//** Padding applied to the modal title
|
||||
@modal-title-padding: 15px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue