feat(aio): add search to 404 page (#19682)

The 404 page will now run a search based on the given URL to offer
suggestions for the page that the user really wanted.

PR Close #19682
This commit is contained in:
Peter Bacon Darwin
2017-10-12 10:59:25 +01:00
committed by Tobias Bosch
parent 88c46feb20
commit 91fcfcb042
6 changed files with 102 additions and 1 deletions

View File

@ -29,6 +29,24 @@ aio-search-results {
}
}
aio-search-results.embedded .search-results {
padding: 0;
color: inherit;
width: auto;
max-height: 100%;
position: relative;
background-color: inherit;
box-shadow: none;
box-sizing: border-box;
.search-area a {
color: lighten($darkgray, 10);
&:hover {
color: $accentblue;
}
}
}
.search-area {
display: flex;
flex-direction: column;