]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
ui: acl role selector: make wider and wrap priv column
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 14 May 2022 12:07:06 +0000 (14:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 14 May 2022 12:07:08 +0000 (14:07 +0200)
commit49275c6726e7bf40f6d79e7b62eb4ad490a75119
treef426467eeb79a7d2cec7ca0f8dd94495646c41e9
parent66cc6d92b81808818ba6f533a0ad19dd54e7c77c
ui: acl role selector: make wider and wrap priv column

as UX was pretty poort, one could only see one and a half privileges
of the role, the rest overflowed and was hidden. While the column
could be resized, doing so would make the role name column shrink
automatically, and it really shouldn't be required in the first
place.

This is a very important selector and all privs of a role must be
visible when opening without any manual user interaction required.

So increase the width to 500px, make the priv colum take more
relative space and enable cellWrap to avoid hidden overflow.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/form/RoleSelector.js