Tidy up mobile view of logo/nav

This commit is contained in:
Brenda Wallace
2019-11-30 16:21:44 +13:00
parent 057e6f3069
commit cdc87b5511
2 changed files with 6 additions and 1 deletions

View File

@@ -441,6 +441,10 @@ ul.thumbnail-buttons {
width: 100%;
}
.navbar-brand .site-name {
font-size: 1.4em;
}
section .btn {
width: 100%;
}

View File

@@ -3,9 +3,10 @@
%a.navbar-brand{ href: root_path }
= image_tag("pear.png", size: "100x100", alt: 'Growstuff brand logo (drawing of a pear)')
%span.site-name Growstuff
= render 'crops/search_bar'
.nav
%button.navbar-toggler{"aria-controls" => "navbarSupportedContent", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#navbarSupportedContent", "data-toggle" => "collapse", type: "button"}
%i.fas.fa-ellipsis-v.navbar-toggler-icon
= render 'layouts/menu'
= render 'crops/search_bar'