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

Nested linked content tabs have strange border-bottom behavior #7090

Closed
4 tasks done
iBug opened this issue Apr 24, 2024 · 2 comments
Closed
4 tasks done

Nested linked content tabs have strange border-bottom behavior #7090

iBug opened this issue Apr 24, 2024 · 2 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@iBug
Copy link
Contributor

iBug commented Apr 24, 2024

Context

We're trying out using nested linked content tabs on our open-source mirror help page as a replacement for switches (e.g. distro release, file format). An example can be found on our Debian help page (https://38b0fed1.ustcmirror.pages.dev/help/debian).

Bug description

When linked content tabs are nested, their border-bottom behaves erratically when they're activated while invisible.

See the demo below.

demo

It doesn't impact any functionality, just a minor cosmetic problem.

Related links

Reproduction

9.5.18-content-tabs.zip

Steps to reproduce

  1. Start mkdocs serve
  2. Visit 127.0.0.1:8000

Browser

Chrome, Edge, Firefox

Before submitting

@squidfunk squidfunk added the bug Issue reports a bug label Apr 24, 2024
@squidfunk
Copy link
Owner

Thanks for reporting! Oh, I love it when those kinds of errors are reported that lie deeper below the surface – it shows how far we've already come in 8 years, but also how far we still have to go 😅 Fixed in 2d07a6a.

The problem also manifested without content.tabs.link, as the active tab was not correctly computed.

@squidfunk squidfunk added the resolved Issue is resolved, yet unreleased if open label Apr 25, 2024
@squidfunk
Copy link
Owner

Released as part of 9.5.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants