Commit 7de3b3ec authored by Mark Otto's avatar Mark Otto
Browse files

fix footer to use new dropdown markup

parent 1ee84d4a
Showing with 8 additions and 8 deletions
+8 -8
......@@ -35,8 +35,8 @@
SimpleJekyllSearch.init({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('search-results'),
searchResultTemplate: '<li><a href="{url}">{title}</a></li>',
noResultsText: '<li class="no-results">Sorry, there are no results for that search.</li>',
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
noResultsText: '<div class="dropdown-item no-results">Sorry, there are no results for that search.</div>',
dataSource: '/search.json'
})
......
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -35,15 +35,15 @@
display: none;
}
> li > a {
.dropdown-item {
padding-left: .75rem;
padding-right: .75rem;
}
> li:first-child { margin-top: .25rem; }
> li:last-child { margin-bottom: .25rem; }
&:first-child { margin-top: .25rem; }
&:last-child { margin-bottom: .25rem; }
}
> .no-results {
.no-results {
padding: .75rem 1rem;
color: #7a7a7a;
text-align: center;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment