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

Documentation: When content is wide enough to require horizontal scroll, content scrolls but left nav outline does not. #3577

Closed
kcondon opened this issue Jan 18, 2017 · 4 comments
Labels
Feature: User Guide User Role: Depositor Creates datasets, uploads data, etc.

Comments

@kcondon
Copy link
Contributor

kcondon commented Jan 18, 2017

Example: Go to Shibboleth section or R/Two Ravens sections, scroll down to where a line is long enough to enable horizontal scrollbar and then scroll horizontally, notice content scrolls on top of nav outline block on left. If you scroll horizontally when such a line is not present (headers seem to allow horizontal scrolling due to white space), then both content and nav outline block scroll as a single piece.

http://guides.dataverse.org/en/latest/installation/r-rapache-tworavens.html
http://guides.dataverse.org/en/latest/installation/shibboleth.html

This exists in 4.6 but was found when testing Oauth in 4.6.1.

@pdurbin
Copy link
Member

pdurbin commented Jun 6, 2017

@dlmurphy and I just talked about this. Here's how it looks:

screen shot 2017-06-06 at 2 35 01 pm

The cause is a long line of code. To trigger the bug, scroll horizontally.

@dlmurphy
Copy link
Contributor

dlmurphy commented Jun 6, 2017

This issue came up today because @bsilverstein95 was trying to use a literal to show a line of code that was long enough to extend the page width. It was impossible for a reader to see the entire length of the line of code without breaking the page, but including any line breaks in that code would render the code inoperable when the reader copied and pasted it.

@mheppler
Copy link
Contributor

mheppler commented Aug 24, 2020

Found this writing documentation for #6919, so I found a quick fix and shot off a PR.

The problem was a result of the ::caption:: option for code-block. Remove that option by moving the caption into the page content text, and the scrolling horizontal over the sidenav bug goes away.

Admin Guide

  • Mail Domain Groups
    • code-block caption, wrote file name into text

Installation Guide

  • OpenID Connect Login Options
    • code-block caption, wrote file name into text

@pdurbin
Copy link
Member

pdurbin commented Sep 4, 2020

While looking at #7221 before switching away from the develop branch, I look a couple screenshots of those two pages and they're definitely showing the overlap problem:

Screen Shot 2020-09-04 at 10 41 49 AM

Screen Shot 2020-09-04 at 10 41 13 AM

Strangely, neither the Shib page nor the TwoRavens page show the horizontal scroll bug for me anymore. I'm not sure why. This was as of 974a2af on develop using Sphinx 1.5.6.

@pdurbin pdurbin closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: User Guide User Role: Depositor Creates datasets, uploads data, etc.
Projects
None yet
Development

No branches or pull requests

4 participants