Skip to content

Commit

Permalink
Add link in modal search to search page
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed Sep 15, 2023
1 parent 075ba07 commit 3aeb3dd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/css/vendor/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,21 @@ a.ais-Hits-item:hover {
position: absolute;
top: 62px;
right: 15px;
line-height: 25px;
z-index: 999;
}

.search-link {
display: inline-block;
position: absolute;
top: -3px;
white-space: nowrap;
left: -200px;
color: var(--asciidoctor-link-font-color);;
}

.search-link:hover {
color: var(--link_hover-font-color);
}

.search-by .dark {
Expand Down
1 change: 1 addition & 0 deletions src/partials/search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<div id="searchbox"></div>
<div id="counter"></div>
<div class="search-by">
<a class="search-link" href="/search.html">Search in all Spring Docs</a>
<a target="_blank" rel="noopener noreferrer" href="https://www.algolia.com/" aria-label="Search by Algolia">
<img class="light" width="140" src="{{{uiRootPath}}}/img/algolia-light.svg" />
<img class="dark" width="140" src="{{{uiRootPath}}}/img/algolia-dark.svg" />
Expand Down

0 comments on commit 3aeb3dd

Please sign in to comment.