Tweak search results to there are no unclickable pixels belonging to the li-elements

This commit is contained in:
Magnus Hoff 2017-10-26 15:30:05 +02:00
parent 578d8a9bca
commit d570893a10

View file

@ -294,7 +294,6 @@ article ul.search-results {
list-style: none; list-style: none;
} }
.search-result { .search-result {
border: 1px solid #ccc;
padding: 0; padding: 0;
margin-bottom: 8px; margin-bottom: 8px;
} }
@ -312,10 +311,12 @@ article ul.search-results {
display: block; display: block;
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
border: 1px solid #ccc;
padding: 8px; padding: 8px;
} }
.search-result a:hover, .search-result a:focus { .search-result a:hover, .search-result a:focus {
background: #0074D9; background: #0074D9;
border-color: #0074D9;
color: white; color: white;
} }
@ -378,9 +379,11 @@ input[type="search"] {
} }
.live-results .search-result { .live-results .search-result {
border-top: none;
margin: 0; margin: 0;
} }
.live-results a {
border-top: none;
}
@media (min-width: 630px) { @media (min-width: 630px) {
.search { .search {