diff options
| author | Mark Otto <[email protected]> | 2013-07-25 21:16:43 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-25 21:16:43 -0700 |
| commit | 56404bc89b590ee48313634b0bf2be8591fae233 (patch) | |
| tree | 3c111f33189a57bbcdc7414ab2a3a0bb50a59cdc /less/panels.less | |
| parent | ac4e7db17f3999a3b4e8625b47dda1d186b19330 (diff) | |
| download | bootstrap-56404bc89b590ee48313634b0bf2be8591fae233.tar.xz bootstrap-56404bc89b590ee48313634b0bf2be8591fae233.zip | |
Add `.panel-title` to panel component to mirror modals
/cc @leeaston
Diffstat (limited to 'less/panels.less')
| -rw-r--r-- | less/panels.less | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/less/panels.less b/less/panels.less index a08febef3..691a15545 100644 --- a/less/panels.less +++ b/less/panels.less @@ -17,14 +17,20 @@ .panel-heading { margin: -15px -15px 15px; padding: 10px 15px; - font-size: (@font-size-base * 1.25); - font-weight: 500; background-color: @panel-heading-bg; border-bottom: 1px solid @panel-border; border-top-left-radius: (@panel-border-radius - 1); border-top-right-radius: (@panel-border-radius - 1); } +// Within heading, strip any `h*` tag of it's default margins for spacing. +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: (@font-size-base * 1.25); + font-weight: 500; +} + // Optional footer (stays gray in every modifier class) .panel-footer { margin: 15px -15px -15px; |
