Commit 7e551eca authored by Mark Otto's avatar Mark Otto

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

parent 4ccf088a
...@@ -5184,10 +5184,10 @@ button.close { ...@@ -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;
} }
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -98,7 +98,7 @@ ...@@ -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
......
...@@ -558,7 +558,7 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment