What causes the 'md-header__title--active' class to be added to the version block in the header? #5999
clubanderson
started this conversation in
General
Replies: 1 comment 3 replies
-
I did some investigation and found that the 5 affected pages have the 'md-header__title--active' class added to the version dropdown element. If I remove that class, the version dropdown shows as desired. Why do certain pages act as if scrolling has begun and stick the 'md-header__title--active' in the version dropdown element?
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a few versions on our mkdocs site served up by Mike now. We use the material theme. All pages in all versions should show the version dropdown at the top of the page. For some reason, we have 5 pages in our main branch that do not show the dropdown. These same pages, in the other versions, do show the dropdown. And, when an any of these pages eventually becomes part of a new release version, they will show the version dropdown.
We use some meta tags at the top of these 5 pages which could be causing the problem, but I am not sure how. One other note - I do see the dropdown appear for a split second, but then disappears like as if scrolling has started. This only happens for our main branch. All other versions are working fine.
compare this page https://docs.kubestellar.io/main/Coding%20Milestones/PoC2023q1/kubestellar-syncer/ (no dropdown) with this page https://docs.kubestellar.io/release-0.7/Coding%20Milestones/PoC2023q1/kubestellar-syncer/
our site is in source at - https://github.com/kubestellar/kubestellar/tree/main/docs
Beta Was this translation helpful? Give feedback.
All reactions