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

docs: fix layout without JS enabled #606

Merged
merged 1 commit into from
Mar 1, 2019

Commits on Mar 1, 2019

  1. docs: fix layout without JS enabled

    The Bootstrap stylesheet for the website sets the header to position:
    fixed, taking it out of the layout flow. Some javascript later updates
    the style attribute, so that the content is pushed down by an
    appropriate amount.
    
    If JS is disabled that correction doesn't happen, and so the header
    overlaps the content.
    
    Make the header static by default, and only apply position: fixed if
    JavaScript is enabled.
    
    Fixes #599
    
    Signed-off-by: Peter Schultz <peter.schultz@classmarkets.com>
    pschultz committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    35103f8 View commit details
    Browse the repository at this point in the history