From 87d9f15fb249bcbe9b31bc50fa9b7c58d3f55681 Mon Sep 17 00:00:00 2001 From: Benjamin CHARMES Date: Fri, 13 Sep 2024 14:06:19 +0100 Subject: [PATCH] wrapping of item names --- webapp/src/components/DynamicDataTable.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/webapp/src/components/DynamicDataTable.vue b/webapp/src/components/DynamicDataTable.vue index a3b1cfcfb..d328b8bb9 100644 --- a/webapp/src/components/DynamicDataTable.vue +++ b/webapp/src/components/DynamicDataTable.vue @@ -237,6 +237,21 @@ export default { visibility: visible !important; } +.p-datatable .p-datatable-tbody > tr > td { + min-width: 1em; + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.p-datatable .p-datatable-thead > tr > th { + min-width: 1em; + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + .button-right { gap: 0.5em; }