RGJ  
                
                  
                    February 16, 2022,  8:12am
                   
                  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 Likes 
            
            
           
          
            
            
              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 Likes 
            
            
           
          
            
              
                pmusaraj  
              
                  
                    February 27, 2022,  2:55pm
                   
                  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  
              
                  
                    March 12, 2022,  7:00am
                   
                  7 
               
             
            
              This topic was automatically closed after 2 days. New replies are no longer allowed.