From d570893a10ee2d3979ce212de83bd2919d237973 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Thu, 26 Oct 2017 15:30:05 +0200 Subject: [PATCH] Tweak search results to there are no unclickable pixels belonging to the li-elements --- assets/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index d48a815..a72667f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -294,7 +294,6 @@ article ul.search-results { list-style: none; } .search-result { - border: 1px solid #ccc; padding: 0; margin-bottom: 8px; } @@ -312,10 +311,12 @@ article ul.search-results { display: block; color: inherit; text-decoration: none; + border: 1px solid #ccc; padding: 8px; } .search-result a:hover, .search-result a:focus { background: #0074D9; + border-color: #0074D9; color: white; } @@ -378,9 +379,11 @@ input[type="search"] { } .live-results .search-result { - border-top: none; margin: 0; } +.live-results a { + border-top: none; +} @media (min-width: 630px) { .search {