aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-28 00:29:38 -0800
committerMark Otto <[email protected]>2012-01-28 00:29:38 -0800
commit342a99f1d01edfa20d744781cbecffcd4239fa39 (patch)
treeb9f4ded72eb1335555bd16d3b707495e885da11b
parent963e5e0eda465f3718381fb8c02f69269b51afeb (diff)
downloadbootstrap-342a99f1d01edfa20d744781cbecffcd4239fa39.tar.xz
bootstrap-342a99f1d01edfa20d744781cbecffcd4239fa39.zip
block level page-header h1 small for readability on 480px and under
-rw-r--r--docs/assets/css/bootstrap-responsive.css4
-rw-r--r--less/responsive.less6
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index acebb64d3..3936d8c20 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -3,6 +3,10 @@
visibility: hidden;
}
@media (max-width: 480px) {
+ .page-header h1 small {
+ display: block;
+ line-height: 18px;
+ }
.form-horizontal .control-group > label {
float: none;
width: auto;
diff --git a/less/responsive.less b/less/responsive.less
index 8bfe705b4..6ba31b5c9 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -27,6 +27,12 @@
@media (max-width: 480px) {
+ // Block level the page header small tag for readability
+ .page-header h1 small {
+ display: block;
+ line-height: @baseLineHeight;
+ }
+
// Remove the horizontal form styles
.form-horizontal .control-group > label {
float: none;