From 518d14607d448183cf5a42039088190bd8e122ea Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Mon, 18 Apr 2022 10:13:54 -0400 Subject: [PATCH] Tweak default sizing of roles, enable resize (#12822) * Tweak default sizing of roles, enable resize Implements #12816 * Use v-text-overflow for role name * Use text overflow for description as well --- .../settings/routes/roles/collection.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/src/modules/settings/routes/roles/collection.vue b/app/src/modules/settings/routes/roles/collection.vue index 05c6d5d19a..f80774cfbf 100644 --- a/app/src/modules/settings/routes/roles/collection.vue +++ b/app/src/modules/settings/routes/roles/collection.vue @@ -26,8 +26,9 @@
@@ -90,20 +89,22 @@ export default defineComponent({ return adminRoles.length === 1 ? adminRoles[0].id : null; }); - const tableHeaders: TableHeader[] = [ + const tableHeaders = ref([ { text: '', value: 'icon', sortable: false, width: 42, align: 'left', + description: null, }, { text: t('name'), value: 'name', sortable: false, - width: 140, + width: 200, align: 'left', + description: null, }, { text: t('users'), @@ -111,6 +112,7 @@ export default defineComponent({ sortable: false, width: 140, align: 'left', + description: null, }, { text: t('description'), @@ -118,8 +120,9 @@ export default defineComponent({ sortable: false, width: 470, align: 'left', + description: null, }, - ]; + ]); fetchRoles();