Board Thread:General Discussion/@comment-29010453-20190720010110/@comment-23989026-20190720140226

Whether you use CSS or Lua, it is still a rigid table that just narrows to fit the mobile width? Using w:c:towerofgod:Template:Zahard_Empire as an example is bottom left in image below.

I recommend that you use Fandyllic's row template system
 * You just add rows to the navbox as needed avoiding "having to do some crazy 5000 lines repeated coding"
 * As it is a cell inside a table, in mobile the navbox will just float down into a single column (bottom right in image below)

My navbox below is missing some of your styling like borders, but gives you an idea how it works