Plethora777 / mcpe_viz

Minecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
GNU General Public License v2.0
167 stars 39 forks source link

Mob menus getting too tall #81

Open amatulic opened 5 years ago

amatulic commented 5 years ago

With each new version of Minecraft, and MCPE_Viz following it (0.0.48 in this case), the list of passive mobs grows. The menus listing mobs has grown to the point where it no longer fits in my browser window in full-screen mode unless I scale the browser down to 75%. The top-most passive mob visible is "Chicken" and the top-most hostile mob visible is "Creeper".

I suggest a smaller line height for the menus. This would be the simplest, just change the rules in bootstrap.min.css: .dropdown-menu>li>a { line-height:1.0; } .navbar-nav .open .dropdown-menu>li>a{line-height:1.0;} and optionally .dropdown-menu { font-size: 13px; }

Other things to consider might be a scroll bar or splitting the menus into two each, sorted A-M and M-Z.

GRMule commented 5 years ago

A progressive filter at the bottom of the menu would be a nice way to solve it too

amatulic commented 5 years ago

Progressive filter. You mean like Passive > Animals > Flying?

I've changed my bootstrap.min.css file as I described in my previous comment, and it works fine for now, but unless it's changed in the downloaded files, I'll have to keep updating it every time I download a new version. Maybe figure out how to do a pull request....