-
Notifications
You must be signed in to change notification settings - Fork 365
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
TOC overlaying wide content #1047
Comments
I'm not seeing that behavior. The divs create columns and the content is typically restricted to the width of each column (TOC on the left, content in the middle, and In This Article on the right). Can you provide an example that shows the behavior you are seeing? |
Here's an example project: Here's what I'm seeing: |
The problem is caused by long, unbroken strings of text that cannot be word wrapped. They seem to cause a minimum column width which makes the div exceed its normal bounds and causes the overlapping. You can work around it to some extent by inserting HTML word break elements (
I do that in the link text for API members, but it looks like I missed a number of places so it's not consistent and I'll have to go back through fix those up. My knowledge of HTML and CSS is marginal so I'm not sure if there's a way to prevent the overlapping and just make it scroll horizontally instead or hide it if it overlaps. For me, it would probably be easier to just provide an option to hide the In This Article div for the page on a case-by-case basis. |
We actually generate the MAML for this particular page with another tool as a build step before finally building the .shfbproj. It would be possible to add
That would be great and very much appreciated. |
We have a few pages that display some wide tables. The rightmost columns have links that are not clickable due to the "In This Article"/TOC
div
element. For example:Also, when scrolling down the TOC overlays the content. Same above page after scrolling down:
Any suggestions other than not using tables for the content? Would it be possible on a page-by-page basis to disable the TOC or make it always display at the top of the page as it does when the browser window is very narrow?
Thanks,
Glenn
The text was updated successfully, but these errors were encountered: