2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Update modals to use more consistent padding—modal body and footer now match modal header

This commit is contained in:
Mark Otto
2014-02-22 12:38:56 -08:00
parent 4ccf088a24
commit 7e551ecaf7
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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;