From 0382506bde4e31828af9e26239b585efb9ef87a5 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Mon, 3 Jul 2017 00:17:42 +0100 Subject: [PATCH] Fix #827 --- CHANGELOG.md | 1 + docs/_includes/navbar.html | 12 +- docs/_includes/subnav-components.html | 23 +- docs/_layouts/documentation.html | 6 +- docs/documentation/components/breadcrumb.html | 364 +++++++++--------- docs/documentation/components/nav.html | 22 +- 6 files changed, 234 insertions(+), 194 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17b6e66d..e5cb0e48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### Issues closed +* Fix #827 Breadcrumb and Navbar in docs * Fix #824 Code examples broken because of `text-align: center` * Fix #820 Loading spinner resizes with controls * Fix #819 Remove `height: auto` from media elements diff --git a/docs/_includes/navbar.html b/docs/_includes/navbar.html index db13302c..bbf557e2 100644 --- a/docs/_includes/navbar.html +++ b/docs/_includes/navbar.html @@ -45,9 +45,15 @@ Elements - - Components - + {% if site.vernum >= 50 %} + + Components + + {% else %} + + Components + + {% endif %} Layout diff --git a/docs/_includes/subnav-components.html b/docs/_includes/subnav-components.html index df898de3..db93c29f 100644 --- a/docs/_includes/subnav-components.html +++ b/docs/_includes/subnav-components.html @@ -1,9 +1,12 @@