Make entire row of doc search results clickable
By adding empty `after` content that clears and is `display: block`. Technique found here: https://stackoverflow.com/a/7817313/51683 Now any part of a documentation search result that is highlighted when you hover over it should also be clickable.
This commit is contained in:
parent
59fa6bd6c1
commit
11ffeed1ed
@ -615,6 +615,11 @@ a {
|
|||||||
.content .search-results td:first-child a {
|
.content .search-results td:first-child a {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
.content .search-results td:first-child a:after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
.content .search-results td:first-child a span {
|
.content .search-results td:first-child a span {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user