fix(homepage): correct small issues (#921)
* fix: center the logo on the homepage * fix: make sure the magnifying glass icon from the input is at the right place * fix: use latest version of Bootstrap documentation * refactor: remove superfluous empty line
This commit is contained in:
parent
735148cdbe
commit
7fb619b791
3 changed files with 6 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ block nav
|
|||
block content
|
||||
.bg-docsearch-hero
|
||||
.max-w-md.m-auto.text-center.px-2
|
||||
img.mt-3.mb-1(src="assets/docsearch-logo.svg", alt="DocSearch logo" width=480)
|
||||
img.mt-3.mb-1.ml-auto.mr-auto(src="assets/docsearch-logo.svg", alt="DocSearch logo" width=480)
|
||||
.text-2.text-nova.mb-3 The best search experience for docs, integrates in minutes, for free
|
||||
.text-5.text-telluric.mb-3 Providing search for 1 500+ docs, and counting.
|
||||
a.c-button.c-button-primary(href="#join-docsearch-program") Join the Program
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@
|
|||
background-image: url("assets/bg-footer.svg");
|
||||
background-position: 100% 100%;
|
||||
height: 500px;
|
||||
|
||||
}
|
||||
|
||||
/* Logo slider (gslide) */
|
||||
|
|
@ -275,3 +274,7 @@
|
|||
50px 0 0 rgba(236, 139, 99, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.docsearch-live-demo-input-wrapper button.searchbox__submit > svg {
|
||||
display: inline;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ window.onload = function() {
|
|||
indexName: 'bootstrap',
|
||||
inputSelector: '.docsearch-live-demo-input',
|
||||
algoliaOptions: {
|
||||
facetFilters: ['version:4.1'],
|
||||
facetFilters: ['version:4.4'],
|
||||
},
|
||||
enhancedSearchInput: true,
|
||||
debug: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue