-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a dark header to match new API site
* Without the hero banner, the site is quite plain with little brandability. Restore some of the QUnit brand colors with a darker header. This also allows one of the official logo variants to be used, and might also make it a more appealing starting point for other jQuery-family sites looking to switch. * Set width/height on logo image to avoid layout reflow. Previously, the search bar would first appear shifted to the left and then jump into its proper position after the logo file was downloaded. * Fix bug where search results from a simple page without additional headings printed as "Async Control >" with a trailing arrow at the end. This was because commit 9a4953ddc7 used `concat(headings)` with the assumption the property always exists, even if just an empty array. This was incorrect. The property is undefined if no headings exist on the target page. It is only an empty array if headings existed but outside the matched content. I don't know if this is intentional on Algolia's part but that how it behaves for me today. Ref qunitjs/qunit#1458.
- Loading branch information
Showing
4 changed files
with
64 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.