Skip to content

strange navbar element ordering #383

@drammock

Description

@drammock

On theme version 0.6.0 here are screenshots of our top navbar at 3 different window widths:

one

two

three

The first/widest one is more or less expected behavior, except that in conf.py I had to specify 'navbar_end': ['navbar-icon-links.html', 'version-switcher.html'] (i.e., the opposite order of elements from what I expected for a left-to-right locale).

The second one is not expected at all; I expected that once the hamburger menu appears, everything will be in a column at the left edge.

The third one is almost OK; the weird left-margin on the version switcher is probably the fault of our own CSS, but now (1) the relative ordering of version-switcher and icon-links is reversed from screenshot 1 (though consistent with conf.py), and (2) the bottom edge of the nav background has no padding.

I haven't dug into the code to find the causes/solutions yet, but I suspect that #355 played some role. 🧐

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions