From 8627c506f748ae254cf26860873461e6281c5a2c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 27 May 2017 18:12:45 -0700 Subject: [PATCH] more responsive docs nav --- docs/_includes/nav-home.html | 123 ++++++++++++++--------------------- docs/assets/scss/_nav.scss | 7 +- 2 files changed, 55 insertions(+), 75 deletions(-) diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html index 828c664a84..af57e16797 100644 --- a/docs/_includes/nav-home.html +++ b/docs/_includes/nav-home.html @@ -1,78 +1,53 @@ diff --git a/docs/assets/scss/_nav.scss b/docs/assets/scss/_nav.scss index 42be331a69..b72f6de1a6 100644 --- a/docs/assets/scss/_nav.scss +++ b/docs/assets/scss/_nav.scss @@ -10,7 +10,7 @@ position: sticky; top: 0; z-index: 1030; // over everything in bootstrap - height: 4rem; + min-height: 4rem; // max-height: calc(100vh - 4rem); // overflow-y: auto; // } @@ -54,4 +54,9 @@ .navbar-brand { color: $bd-purple; } + + .bd-navbar-brand-wrap { + padding-top: .25rem; + padding-bottom: .25rem; + } }