mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Update modals to use more consistent padding—modal body and footer now match modal header
This commit is contained in:
Vendored
+2
-2
@@ -5184,10 +5184,10 @@ button.close {
|
|||||||
}
|
}
|
||||||
.modal-body {
|
.modal-body {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 20px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
padding: 19px 20px 20px;
|
padding: 15px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
border-top: 1px solid #e5e5e5;
|
border-top: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
// Footer (for actions)
|
// Footer (for actions)
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
|
padding: @modal-inner-padding;
|
||||||
text-align: right; // right align buttons
|
text-align: right; // right align buttons
|
||||||
border-top: 1px solid @modal-footer-border-color;
|
border-top: 1px solid @modal-footer-border-color;
|
||||||
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
||||||
|
|||||||
+1
-1
@@ -558,7 +558,7 @@
|
|||||||
//##
|
//##
|
||||||
|
|
||||||
//** Padding applied to the modal body
|
//** Padding applied to the modal body
|
||||||
@modal-inner-padding: 20px;
|
@modal-inner-padding: 15px;
|
||||||
|
|
||||||
//** Padding applied to the modal title
|
//** Padding applied to the modal title
|
||||||
@modal-title-padding: 15px;
|
@modal-title-padding: 15px;
|
||||||
|
|||||||
Reference in New Issue
Block a user