From 14c10f055a5d2a5e2ecc75c76cfdbf2cde503e49 Mon Sep 17 00:00:00 2001 From: imaustink Date: Mon, 26 Jun 2017 16:38:29 -0700 Subject: [PATCH 1/2] Fixed bug causing subtitle to spill out of it's container --- static/search.less | 1 + 1 file changed, 1 insertion(+) diff --git a/static/search.less b/static/search.less index 2c9e568b..e9e83789 100644 --- a/static/search.less +++ b/static/search.less @@ -85,6 +85,7 @@ color: @link-color; padding-bottom:0; display: inline-block; + width: 100%; &:hover { text-decoration: none; } From d556d8256d644244d026b9a713637eaaed6be57f Mon Sep 17 00:00:00 2001 From: Chasen Le Hara Date: Tue, 27 Jun 2017 07:49:05 -0700 Subject: [PATCH 2/2] =?UTF-8?q?Don=E2=80=99t=20show=20the=20search=20resul?= =?UTF-8?q?t=20name=20if=20it=E2=80=99s=20the=20same=20as=20the=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also remove the parenthesis around the module name. --- templates/search-results.stache | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/search-results.stache b/templates/search-results.stache index 7d8bc967..d798c18d 100644 --- a/templates/search-results.stache +++ b/templates/search-results.stache @@ -18,12 +18,14 @@
  • {{#if result.title}}{{result.title}}{{else}}{{result.name}}{{/if}} - + {{#if result.title}} - - ({{result.name}}) - + {{^eq result.name result.title}} + + {{result.name}} + + {{/eq}} {{/if}} {{#if result.description}}