RGJ
(Richard - Communiteq)
16 Febrero, 2022 08: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 Me gusta
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 Me gusta
pmusaraj
(Penar Musaraj)
27 Febrero, 2022 14: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)
Cerrado
12 Marzo, 2022 07:00
7
This topic was automatically closed after 2 days. New replies are no longer allowed.