-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Releases tab from header #6388
Conversation
This pull request moves the content of the Releases tab to the version number next to the title. With the search bar, the header was getting too crowded. I've cleaned up the search style a bit and made it look like the React one (with the background color). I've also improved the styling of the versions page
@@ -86,7 +86,7 @@ var Site = React.createClass({ | |||
apiKey: '2c98749b4a1e588efec53b2acec13025', | |||
indexName: 'react-native-versions', | |||
inputSelector: '#algolia-doc-search', | |||
algoliaOptions: { facetFilters: [ "tags:${algoliaVersion}" ] } | |||
algoliaOptions: { facetFilters: [ "tags:${algoliaVersion}" ], hitsPerPage: 5 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a temporary fix until they fix the bug on their end
By analyzing the blame information on this pull request, we identified @skevy, @bestander and @vjeux to be potential reviewers. |
width: 240px; | ||
} | ||
|
||
@media screen and (max-width: 1085px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed all the size specific versions, not very useful
Love it! |
@facebook-github-bot shipit |
Thanks for importing. If you are an FB employee go to Phabricator to review. |
8c2e531
This pull request moves the content of the Releases tab to the version number next to the title. With the search bar, the header was getting too crowded.