Changed the layout for tables from block layout to flex layout to fix the width of the columns as per the dialog size.

This commit is contained in:
Aditya Toshniwal
2021-09-22 18:11:50 +05:30
committed by Akshay Joshi
parent f538546c4d
commit fc86faf51e
2 changed files with 16 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
type: 'text', group: null,
cell: ()=>({cell: 'privilege', controlProps: {
supportedPrivs: this.supportedPrivs,
}}), minWidth: 230,
}}),
disabled : function(state) {
return !(
obj.nodeInfo &&
@@ -69,7 +69,6 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
{
id: 'grantor', label: gettext('Grantor'), type: 'text', readonly: true,
editable: false, cell: ()=>({cell: 'select', options: obj.grantorOptions}),
minWidth: 150,
}];
}