autofocus search
This commit is contained in:
parent
5dbd5fbcdf
commit
301a0e8fdf
@ -191,7 +191,7 @@ h2 {
|
||||
|
||||
/* Search Input Field Styles */
|
||||
.fuzzysearch {
|
||||
margin: 0 auto;
|
||||
margin: 10px auto;
|
||||
text-align: center;
|
||||
max-width: var(--page-max-width);
|
||||
}
|
||||
|
@ -11,6 +11,8 @@ function applyFuzzySearch(linksData) {
|
||||
return;
|
||||
}
|
||||
|
||||
searchInput.scrollIntoView({ behavior: 'auto', block: 'start' });
|
||||
|
||||
const allLinks = linksData.links;
|
||||
const scores = allLinks.map(link => ({
|
||||
link: link,
|
||||
|
Loading…
Reference in New Issue
Block a user