From 25e11903e37f1b95f130f5b2ff8c435c52bf010d Mon Sep 17 00:00:00 2001
From: Mark Otto <otto@github.com>
Date: Thu, 15 Aug 2013 13:52:46 -0700
Subject: [PATCH] clear up rounded corners and nuke min-height

---
 assets/css/docs.css | 31 +++++++++++++------------------
 1 file changed, 13 insertions(+), 18 deletions(-)

diff --git a/assets/css/docs.css b/assets/css/docs.css
index 263aeb85cf..3d5602480d 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -476,7 +476,6 @@ body {
 .bs-navbar-bottom-example {
   z-index: 1;
   padding: 0;
-  min-height: 110px;
   overflow: hidden; /* cut the drop shadows off */
 }
 .bs-navbar-top-example .navbar-fixed-top,
@@ -488,6 +487,10 @@ body {
 .bs-navbar-top-example {
   padding-bottom: 45px;
 }
+.bs-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+}
 .bs-navbar-top-example .navbar-fixed-top {
   top: -1px;
 }
@@ -497,27 +500,19 @@ body {
 .bs-navbar-bottom-example .navbar-fixed-bottom {
   bottom: -1px;
 }
-.bs-navbar-top-example {
-  -webkit-border-radius: 0 0 4px 4px;
-     -moz-border-radius: 0 0 4px 4px;
-          border-radius: 0 0 4px 4px;
-}
-.bs-navbar-top-example:after {
-  top: auto;
-  bottom: 15px;
-  -webkit-border-radius: 0 4px 0 4px;
-     -moz-border-radius: 0 4px 0 4px;
-          border-radius: 0 4px 0 4px;
-}
-.bs-navbar-bottom-example {
-  -webkit-border-radius: 4px 4px 0 0;
-     -moz-border-radius: 4px 4px 0 0;
-          border-radius: 4px 4px 0 0;
-}
 .bs-navbar-bottom-example .navbar {
   margin-bottom: 0;
 }
 
+@media (min-width: 768px) {
+  .bs-navbar-top-example {
+    border-radius: 0 0 4px 4px;
+  }
+  .bs-navbar-bottom-example {
+    border-radius: 4px 4px 0 0;
+  }
+}
+
 /* Example modals */
 .bs-example-modal {
   background-color: #f5f5f5;
-- 
GitLab