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

Table of Contents looks bad on mobile devices / small screens #2

Open
drusepth opened this issue Dec 28, 2020 · 0 comments
Open

Table of Contents looks bad on mobile devices / small screens #2

drusepth opened this issue Dec 28, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@drusepth
Copy link
Member

We're using the horizontal Stepper from Material-UI for our table of contents, which looks great on larger screens but isn't responsive.

For example,
2020-12-28-145608_476x395_scrot

The TableOfContents component has a renderRetro() method we could use to render a plaintext table of contents, but I'm not sure how to switch which method gets rendered based on screen size / device type at page load. We could probably also use CSS and media queries to style the stepper-style table of contents to look better on mobile devices.

I'm open to any good solution that 1) doesn't change the table of contents (much?) on large screens, and 2) makes it look better on small screens.

@drusepth drusepth added the good first issue Good for newcomers label Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant