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 of documentation articles didn't show when display has 1366px wide #436

Open
ricpelo opened this issue Mar 26, 2019 · 1 comment
Labels

Comments

@ricpelo
Copy link

ricpelo commented Mar 26, 2019

I have a monitor with a resolution of 1366px wide. When I open a documentation article, the table of contents doesn't show in the right sidebar nor at the top of the article.

For example, this is what I see when I open https://www.yiiframework.com/doc/guide/2.0/en/tutorial-yii-integration in my 1366px wide monitor:

2019-03-26-103456_1366x731_scrot

And this is what I see when I open the same article in a 1920px wide monitor:

2019-03-26-103803_1920x1061_scrot

If I manually change .hidden-lg CSS from @media (min-width: 1200px) to @media (min-width: 1400px), then I cann see the table of contents at the top of the article in my 1366px wide:

2019-03-26-104150_1366x731_scrot

So it seems that the fix could be to change the .hidden-lg CSS.

@cebe
Copy link
Member

cebe commented May 24, 2019

expected behavior is that TOC is shown on top on small screens and in the sidebar navigation on the right on big screens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants