Tweak search results to there are no unclickable pixels belonging to the li-elements
This commit is contained in:
parent
578d8a9bca
commit
d570893a10
1 changed files with 5 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue