pi-hole/docs

Visual error on "Wireguard - Install server" page.

rdwebdesign opened this issue · 9 comments

The sticky footer is not "sticking" to screen bottom.

Error on console:

Uncaught ReferenceError: Missing element: expected ".tabbed-labels" to be present

Link

https://docs.pi-hole.net/guides/vpn/wireguard/server/

Screenshots

Image Pasted at 2022-8-7 21-40

I created a quick fix (#759) for this error.
The current visual is almost the same as the original, but without the broken footer.

Note:
Since we have only 2 items, list items are a good/readable option.
If the tabs are really needed, we can find a solution later.

Note2:

Possible solution using tabs is add the alternate_style option to the config (not tested):

  - pymdownx.tabbed:
      alternate_style: true

Interesting, I get the same console error but no visible bug on Chrome an FF (both on linux)

Did you scroll the page to the bottom?
When I scroll all the way down, the footer scrolls with the text.

docs758_video

Did you scroll the page to the bottom?

I did. It stays where it should stay

I tested using Chrome and Edge.
In this case, the footer doesn't scroll up, but the menu is overlapping the footer.

The problem is better visualized using the dark theme.
image

Anyway, the tabs are not shown as tabs in any browser.

I change my approach and fixed the error. Now the tabs are really tabs.

Your screen is large enough to show the menu completely expanded, above the footer.

If you try it using a smaller window (with reduced height), you will probably see the same errors.

Ok, I can see it now.