From 43f543c18f112dd43161417a4e4547ce0ce8a2ae Mon Sep 17 00:00:00 2001 From: Jared Lee Date: Fri, 21 Oct 2016 12:09:48 +1300 Subject: [PATCH] Added viewport meta tag for mobile view and Cleaned up hamburger styling --- themes/docs/css/styles.css | 5 +---- themes/docs/templates/Includes/DocumentationHead.ss | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/themes/docs/css/styles.css b/themes/docs/css/styles.css index eb1023b..6d76b03 100644 --- a/themes/docs/css/styles.css +++ b/themes/docs/css/styles.css @@ -96,13 +96,10 @@ form .message.error { } @media (max-width: 992px) { - /*.nav-mobile{ - display: none; - }*/ .site-header { display: none; } - #sidebar a.logo { + #sidebar .logo { display: block; height: 40px; margin: 16px; diff --git a/themes/docs/templates/Includes/DocumentationHead.ss b/themes/docs/templates/Includes/DocumentationHead.ss index 207dfc9..70e4c8d 100644 --- a/themes/docs/templates/Includes/DocumentationHead.ss +++ b/themes/docs/templates/Includes/DocumentationHead.ss @@ -1,6 +1,7 @@ <% base_tag %> + <% if Title %>$Title – <% end_if %>SilverStripe Documentation <% include DocumentationFavicons %>