Skip to content

Theme cosmetic issue showing "On this page" twice at 1280px breakpoint #2668

@hschaefer123

Description

@hschaefer123

Describe the bug

Using the browser with resolution 1280px, there is an media query overlap for the toc "On this page" section.

The section is shown above and aside.

image

Reproduction

Size browser to 1280px

Expected behavior

The top "On this page" section is hidden while shown aside.

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 5.87 GB / 15.95 GB
  Binaries:
    Node: 18.16.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 115.0.5790.99
    Edge: Spartan (44.22621.1992.0), Chromium (114.0.1823.82)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vitepress: ^1.0.0-beta.5 => 1.0.0-beta.5

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    themeRelated to the theme

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions