diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/modals.less | 8 | ||||
| -rw-r--r-- | less/variables.less | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/less/modals.less b/less/modals.less index c302e2a2b..c05c3f7b0 100644 --- a/less/modals.less +++ b/less/modals.less @@ -74,19 +74,19 @@ // Modal header // Top section of the modal w/ title and dismiss .modal-header { - padding: 9px 15px; + padding: @modal-title-padding; border-bottom: 1px solid #e5e5e5; - min-height:40px; + min-height: (@modal-title-padding + @modal-title-line-height); } // Close icon .modal-header .close { - margin-top: 2px; + margin-top: -2px; } // Title text within header .modal-title { margin: 0; - line-height: 30px; // effectively set a min-height for the header + line-height: @modal-title-line-height; } // Modal body diff --git a/less/variables.less b/less/variables.less index cafd3919b..e612bb94b 100644 --- a/less/variables.less +++ b/less/variables.less @@ -274,6 +274,9 @@ // ------------------------- @modal-inner-padding: 20px; +@modal-title-padding: 15px; +@modal-title-line-height: @line-height-base; + // Progress bars // ------------------------- |
