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

ToC hovers on top of Sidebar #315

Open
pvblick-vniversal-friend opened this issue Nov 15, 2021 · 5 comments
Open

ToC hovers on top of Sidebar #315

pvblick-vniversal-friend opened this issue Nov 15, 2021 · 5 comments
Assignees

Comments

@pvblick-vniversal-friend
Copy link
Contributor

pvblick-vniversal-friend commented Nov 15, 2021

What happened?

Table of Contents overlaps with the drop down menu on the right:

MetaWiki_UI_Issue

Where and when:

Spotted on a laptop before entering the server in the player path.
This means that various other people will have encountered the problem before entering the MetaGame Discord.

Imporant: This might throw some people off from joining, especially UX/UI Designers.

How can we reproduce the problem?

  • Reducing the width beyond a certain threshold makes the ToC go to the bottom left-hand corner.

  • @Pronoia42 has encountered a similar issue while opening the inspection tool. Here's their post on a similar issue Overlapping Div #365

  • Note: This behavior doesn't happen in default docusaurus and is caused by some of our customization.

Possible cause and proposed solution.

  • Reduced screen width + non-pinned div for ToC -> ToC moves to occupy space on the left.

Problematic element: {div class="tableOfContents_35-E thin-scrollbar theme-doc-toc-desktop"}

Troubleshooting:

  • Inspecting shows that ToC is under element {div class="col col--3"} which is the the sidebar.
  • Issue occurs specifically at widths between 1003-1258px.
  • @polimyl found out that reducing height pushes the ToC up while the sidebar stays locked.
  • At width below 975px the sidebar collapses in drop-down menu on top left corner.
  • Important: Between width 975-1003px, sidebar is fixed on the left side with a scroll-bar. Below 975 it isn't fixed and the issue occurs. The problem is caused by the navbar/sidebar.

Possible solution: Fix sidebar in place on on left side below width of 975px.

Spex (when encountered):
Browser: Brave
OS: Windows 10
Screen res: 1366x768
Text size: 110%

@luxumbra luxumbra self-assigned this Nov 16, 2021
@luxumbra
Copy link
Contributor

Looking at this now.

@pvblick-vniversal-friend
Copy link
Contributor Author

@luxumbra any progress?

@luxumbra
Copy link
Contributor

@luxumbra any progress?

I started looking this morning and will do more over the next couple of days but today I was distracted by trying to get another bits of work done on the other repo and helping to push this months SEED mint.

@tommycomma
Copy link

Sorry I think I made this as an additional new issue

#334

@luxumbra
Copy link
Contributor

I have picked this up again today. Apologies for the delay!! @pvblick-vniversal-friend @tommycomma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants