helgatheviking / Nav-Menu-Roles

Display / Hide wp_nav_menu() items by role
66 stars 32 forks source link

Remove .role-input-holder `width` and `float` style #36

Closed lkraav closed 4 years ago

lkraav commented 4 years ago

It turns out that with tens of membership plans (we sell online trainings), this width-restricted floating makes the menu editor role checkbox list an incomprehensible mess.

100% wide rows are significantly saner to work with:

image

https://github.com/helgatheviking/Nav-Menu-Roles/blob/master/nav-menu-roles.php#L348 could be <div class="role-input-holder" style="margin: 2px 0;">

Your thoughts?

helgatheviking commented 4 years ago

This doesn't sound like a bad idea! Want to send a PR? If you wait a few days you could count it towards your Hacktoberfest efforts. :)