Skip to content

Commit

Permalink
Update modals to use more consistent padding—modal body and footer no…
Browse files Browse the repository at this point in the history
…w match modal header
  • Loading branch information
mdo committed Feb 22, 2014
1 parent 4ccf088 commit 7e551ec
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion less/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 less/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 7e551ec

Please sign in to comment.