Add better support for tabs #15

Manually merged
cadence merged 5 commits from blankie/breezewiki:tabs into main 2024-06-05 11:09:06 +00:00
Contributor

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 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).
blankie added 1 commit 2023-05-29 16:43:41 +00:00
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).
Author
Contributor

(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

(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](https://lists.sr.ht/~cadence/breezewiki-discuss/%3CCSL9IPTI0WTT.1BDPLVUYIMEYT%40archer%3E#%3C97f0b8e3-71d9-46d2-bc0b-67114eb0c78f@disroot.org%3E). 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
blankie added 1 commit 2023-05-30 06:50:16 +00:00
blankie added 1 commit 2023-05-30 07:03:52 +00:00
blankie force-pushed tabs from 9ff6d3b9a8 to f5399524b1 2023-11-06 09:15:29 +00:00 Compare
blankie added 1 commit 2023-11-06 09:31:47 +00:00
blankie added 1 commit 2023-11-13 03:36:09 +00:00
cadence referenced this pull request from a commit 2024-06-05 11:09:05 +00:00
cadence manually merged commit 47d92d3a37 into main 2024-06-05 11:09:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cadence/breezewiki#15
No description provided.