You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
Below code can render tabbed content, but the tabs will stay on one line, if the list of tabs is very long, and users click the last a few tabs, it does not allow to scroll back.
=== "C"
``` c
#include <stdio.h>
int main(void) {
printf("Hello world!\n");
return 0;
}
```
=== "C++"
``` c++
#include <iostream>
int main(void) {
std::cout << "Hello world!" << std::endl;
return 0;
}
```
Expected behaviour
I recalled in the prior versions, the tab list is not folded in one line, meaning they will all be listed, so that uses can click wherever they want to go. I think this is a good idea.
Actual behaviour
Tabs stay on one line, if the list of tabs is very long, and users click the last a few tabs, it does not allow to scroll back.
Thanks for reporting. As I understand, you want this behavior back:
Since this has severe problems on mobile, especially with many, many content tabs, we switched to the new approach that allows for a scrollable tab container. You can infact go back, you just need to scroll back. If you want the old behavior back, you'd need to downgrade Material for MkDocs to 7.x.x, which was the last version supporting the legacy tab behavior.
Additionally, watch out for #3531, which will be tackled soon. We're going to add tab indicators and improve the UI/UX of the current solution. Since there's nothing for us to act on, I'm closing this issue.
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Below code can render tabbed content, but the tabs will stay on one line, if the list of tabs is very long, and users click the last a few tabs, it does not allow to scroll back.
Expected behaviour
I recalled in the prior versions, the tab list is not folded in one line, meaning they will all be listed, so that uses can click wherever they want to go. I think this is a good idea.
Actual behaviour
Tabs stay on one line, if the list of tabs is very long, and users click the last a few tabs, it does not allow to scroll back.
Steps to reproduce
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: