Skip to content

Mobile: TOC styling issue #32

Description

@edibotopic

If we intend to allow users to switch to Minerva when on desktop, the TOC styling will need to be fixed.
Because "Contents" here is a <h2> its inheriting custom styles from the section headers (borders, margins), I assume.

Note

On small devices, the TOC on a page seems to disappear, which is by-design for Minerva.

Screenshot of problem

Image Image

Comparison to Wikipedia

Image

Possible solution

Removing the inherited h2 styles below seemed to broadly work:

Image
Image Image

Relationship to other issues

The margin: 24px 0 0.25em 0 on the h2 seems to be causing #13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mobileRelates to mobile skin

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions