RGJ
(Richard - Communiteq)
16 فبراير 2022، 8:12ص
1
The DiscoTOC theme component does not use the mobile view correctly when the topic is shown via Discourse Docs.
This is what the ToC of a topic looks if viewed normally on mobile (button on bottom): Administrative Bulk Operations
And this is how it looks if viewed through the docs plugin on mobile (just like desktop): Administrative Bulk Operations - Docs - Discourse Meta
5 إعجابات
Good catch! I am able to repro this here on meta with the same topic as in screenshots above. @pmusaraj you reworked DiscoTOC recently so may have ideas on how to fix this.
3 إعجابات
pmusaraj
(Penar Musaraj)
27 فبراير 2022، 2:55م
4
It’s not quick to add mobile support for TOC in docs pages, because a bunch of layout pieces from core would need to be rebuilt. For now, we can just hide TOC on docs mobile topics. Here’s a PR for that: UX: Hide TOC on mobile docs topics by pmusaraj · Pull Request #32 · discourse/DiscoTOC · GitHub
pmusaraj
(Penar Musaraj)
تم إغلاقه في
12 مارس 2022، 7:00ص
7
This topic was automatically closed after 2 days. New replies are no longer allowed.