Skip to content

Commit

Permalink
(less) Update modals to use more consistent padding—modal body and fo…
Browse files Browse the repository at this point in the history
…oter now match modal header
  • Loading branch information
mdo committed Feb 22, 2014
1 parent 842b84c commit ea2be28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ea2be28

Please sign in to comment.