From 81e72b54fadfc110e325693ff1973d753dbb9064 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Tue, 31 Mar 2015 16:20:00 -0700 Subject: [PATCH] Wrap the search field in a
element This should have no effect on the behavior or appearance of the search box, except that it enables features like right-click -> "Add a keyword for this search" in Firefox and other browsers. --- app/styles/app.scss | 2 +- app/templates/application.hbs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/styles/app.scss b/app/styles/app.scss index 5a1b1de8b81..614495440af 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -119,7 +119,7 @@ body { @media only screen and (max-width: 820px) { .menu { display: block; } .nav { display: none; } - div.search { display: none; } + form.search { display: none; } } } diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 4a7d5da8967..5f63de6dec5 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -11,12 +11,12 @@

CARGO

{{/link-to}} - +