Add better support for tabs #15
Loading…
Reference in a new issue
No description provided.
Delete branch "blankie/breezewiki:tabs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some pages break without actual tab support, such as https://breezewiki.com/ben10/wiki/Ultimatrix_(Original)#Modes
This change aims to work with old browsers (such as Firefox for Android 68) and browsers with Javascript disabled (by showing all tab contents and hiding the tab bar, i.e. how tabs work before this change).
(Some notes while I was implementing this)
With this change, if you open /ben10/wiki/Ultimatrix_(Original)#Modes and click on Scan, the content seems to be truncated. Adding the class
page-content
to<body>
fixed it, but it looks like it causes more trouble than what it's worth.Nested tabs are a thing apparently: https://antifandom.com/community/wiki/Help:Tabber#Example
There are apparently left/right arrows inside the tab bar, but I haven't seen them yet: https://antifandom.com/community/wiki/Help:Tabber#Styling
9ff6d3b9a8
tof5399524b1