mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
fix footer to use new dropdown markup
This commit is contained in:
parent
1ee84d4a1c
commit
7de3b3eced
@ -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'
|
||||
})
|
||||
|
||||
|
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -35,15 +35,15 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
> li > a {
|
||||
.dropdown-item {
|
||||
padding-left: .75rem;
|
||||
padding-right: .75rem;
|
||||
|
||||
&:first-child { margin-top: .25rem; }
|
||||
&:last-child { margin-bottom: .25rem; }
|
||||
}
|
||||
|
||||
> li:first-child { margin-top: .25rem; }
|
||||
> li:last-child { margin-bottom: .25rem; }
|
||||
|
||||
> .no-results {
|
||||
.no-results {
|
||||
padding: .75rem 1rem;
|
||||
color: #7a7a7a;
|
||||
text-align: center;
|
||||
|
Loading…
x
Reference in New Issue
Block a user