FANDOM


  • This has been bugging me for a while. On mobile, everything (including a group set to collapse="closed") appears up to a certain point, and then the rest of the infobox collapses.

      Loading editor
    • Yes, that's intentional. Otherwise most infoboxes are too long for meaningful mobile display.

        Loading editor
    • Thank you for your explanation.

      On the topic of collapsible text, is there a way to collapse sections (outside of the infobox, that is) in mobile view? Since we should avoid using <div>, I'm looking for an alternate way to do the following, that would also work in mobile view.

      <div class="mw-customtoggle-HideMe wikia-menu-button">Show/Hide Section</div><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-HideMe">hidden text</div>

      Show/Hide Section
      something like this
        Loading editor
    • There's not a good way to do that while avoiding <div>, except to use <span> for short pieces of text.

      However, if you can provide some valid use cases on why this kind of element would be be helpful to have on desktop and mobile, this would be a good place. 😀

        Loading editor
    • Spoilers is the classic use case.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message