diff options
| author | Mark Otto <[email protected]> | 2014-02-22 12:38:56 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-22 12:38:56 -0800 |
| commit | 7e551ecaf71cb9971990e156c54e5ee0fb758a98 (patch) | |
| tree | a19eeb94cf3613058d64d88ded5004cae3c0c598 /less | |
| parent | 4ccf088a24b8c0f9694458c81d44514559712a65 (diff) | |
| download | bootstrap-7e551ecaf71cb9971990e156c54e5ee0fb758a98.tar.xz bootstrap-7e551ecaf71cb9971990e156c54e5ee0fb758a98.zip | |
Update modals to use more consistent padding—modal body and footer now match modal header
Diffstat (limited to 'less')
| -rw-r--r-- | less/modals.less | 2 | ||||
| -rw-r--r-- | less/variables.less | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less index f4e95346b..0ba977e6d 100644 --- a/less/modals.less +++ b/less/modals.less @@ -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 diff --git a/less/variables.less b/less/variables.less index 3846adc59..fa736f0ac 100644 --- a/less/variables.less +++ b/less/variables.less @@ -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; |
