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:
Carol (Nichols || Goulding) 2018-08-03 18:29:49 -04:00
parent 59fa6bd6c1
commit 11ffeed1ed
No known key found for this signature in database
GPG Key ID: D04B39A6CA243902

View File

@ -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;
} }