From 5f2f418603d8ef8968ad4d3da767fed9d892f4b7 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 15 Dec 2025 17:45:55 +0000 Subject: [PATCH 1/2] Dashboard events table: save items per page in local storage --- src/views/Dashboard.vue | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index a502689c5..342904bc2 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -29,7 +29,7 @@ along with this program. If not, see . :items="workflowsTable" :loading="isLoading" id="dashboard-workflows" - items-per-page="-1" + :items-per-page="-1" style="font-size: 1rem;" density="compact" > @@ -43,7 +43,8 @@ along with this program. If not, see . @@ -185,6 +186,7 @@ along with this program. If not, see . + + diff --git a/src/styles/_util.scss b/src/styles/_util.scss index 22326661d..5b9328458 100644 --- a/src/styles/_util.scss +++ b/src/styles/_util.scss @@ -28,3 +28,12 @@ } } } + +@mixin line-clamp($lines) { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: $lines; + line-clamp: $lines; + overflow: hidden; + text-overflow: ellipsis; +} diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 342904bc2..78ee8620a 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -49,19 +49,24 @@ along with this program. If not, see . data-cy="events-table" > - + - + -