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

Search bar header off-centre on displays wider than 1990px (approx) #2046

Closed
toebeann opened this issue Aug 30, 2022 · 3 comments
Closed

Search bar header off-centre on displays wider than 1990px (approx) #2046

toebeann opened this issue Aug 30, 2022 · 3 comments
Labels
bug Functionality does not match expectation

Comments

@toebeann
Copy link

toebeann commented Aug 30, 2022

Search terms

header, search bar, large displays, ultrawide, 1440p, 2K, 4K, off-centre, off-center

Expected Behavior

typedoc seems to intend to have the header display centred on the page as below:
image
image

Actual Behavior

This is at a width of 3440px, but the header goes off-centre from a width of approx. 1990px and up:
image
image

Steps to reproduce the bug

  • Open the latest typedoc example project on a display with a width greater than approx 1990px (e.g. 1440p, 4K, most ultrawide displays, etc.)
  • Maximise browser window

Issue is prevalent in both Firefox and Chrome, haven't tested others.
Seems to only go off-centre around an approximate width of 1990px.

I understand you generally require a minimal typedoc install repo for this, however I have tested this on multiple of my repos using typedoc and it is happening on all, including the typedoc example project.

Environment

  • Typedoc version: 0.23.11
  • TypeScript version: 4.8.2
  • Node.js version: 16.16.0
  • OS: Windows 11 (10.0.22000 Build 22000)
@toebeann toebeann added the bug Functionality does not match expectation label Aug 30, 2022
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 31, 2022

In this case a minimal repro could just point at https://typedoc.org/api/ and say zoom out ;)

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Sep 1, 2022

... just noticed I put the css on the wrong element

@Gerrit0 Gerrit0 reopened this Sep 1, 2022
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Sep 1, 2022

c72c75c

@Gerrit0 Gerrit0 closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants