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

Content of pages without ToC appears on the left side #2000

Closed
AlexDaniel opened this issue May 6, 2018 · 4 comments
Closed

Content of pages without ToC appears on the left side #2000

AlexDaniel opened this issue May 6, 2018 · 4 comments

Comments

@AlexDaniel
Copy link
Member

See https://docs.perl6.org/language/pragmas

Without ToC:

image

With ToC:
image

IMO the content should be rendered consistently.

@AlexDaniel AlexDaniel added the site label May 6, 2018
@AlexDaniel AlexDaniel changed the title Pages without ToC appear on the left side Content of pages without ToC appears on the left side May 6, 2018
@JJ
Copy link
Contributor

JJ commented May 24, 2018

When there's no TOC, the content has the class appropriately named no-toc. Let's see what can be done about that.

@JJ JJ closed this as completed in a82a2d8 May 24, 2018
@AlexDaniel AlexDaniel reopened this May 24, 2018
@AlexDaniel
Copy link
Member Author

This didn't fix anything.

image

@JJ
Copy link
Contributor

JJ commented May 24, 2018

The thing is that section has a maximum width. I can try and eliminate that, but I'm afraid it will break things. Anyway, I'll give it a try.

@JJ JJ closed this as completed in 79fb35e May 24, 2018
@AlexDaniel AlexDaniel reopened this May 24, 2018
@AlexDaniel
Copy link
Member Author

Why !important? Seems to be working without it.

@JJ JJ closed this as completed in 4f146f5 May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants