Skip to content
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

Show onPageNav on mobile devices #730

Merged
merged 5 commits into from
Jun 10, 2018

Conversation

SleepWalker
Copy link
Contributor

Motivation

This PR adds support for onPageNav for mobile and tablet devices

This PR closes #662

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

ToC Hidden

toc-hidden

ToC Shown

toc-shown

Tablet devices

For tablets I've decided to show onPageNav instead of sideNav. The sideNav is accessible through breadcrumbs menu like on mobile devices.

toc-ipad

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 6, 2018
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jun 6, 2018

Deploy preview for docusaurus-preview ready!

Built with commit b812b5a

https://deploy-preview-730--docusaurus-preview.netlify.com

@SleepWalker SleepWalker force-pushed the 662-onPageNav-for-mobile branch from 4ee2751 to b812b5a Compare June 6, 2018 20:25
@endiliey endiliey requested a review from yangshun June 7, 2018 08:15
Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested briefly. Seems fine. Thanks @SleepWalker!

@yangshun yangshun merged commit 3ff24c7 into facebook:master Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show onPageNav on mobile devices
5 participants