Skip to content

Bug: page-toolbar styling issue with overlapping elements #8

Description

@kabeep

Hi there @dmnsgn ,

I ran into some issue with the page toolbar layout in style.css file.

What Happen

  • When the typedoc config file has multiple navigationLinks properties, the title ends up overlapping the links, making them unclickable.

image

  • The title's text-overflow styling messes up the box model, causing the width to not match the actual content, and you can accidentally click into the empty space.

image

  • The search bar input's height and font size are too small, and allowing clicks to pass through to the title and navigation links below it.

image

See https://dmnsgn.github.io/typedoc-material-theme/ or Reproduction

  1. Create a new config file
{
  "name": "@Testing/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis/Ellipsis",
  "navigationLinks": {
    "Docs": "https://typedoc.org/guides/overview",
    "GitHub": "https://github.com/TypeStrong/typedoc"
  }
}
  1. Run test script
  2. Check in browser
Environment Info
typedoc-material-theme 1.1.0
NodeJS 18.18.0
Chrome 130.0.6723.117 (Official Build) (64-bit)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions