diff --git a/src/components/cylc/WarningIcon.vue b/src/components/cylc/WarningIcon.vue index 8f24bec9d..c61f67e8f 100644 --- a/src/components/cylc/WarningIcon.vue +++ b/src/components/cylc/WarningIcon.vue @@ -65,7 +65,7 @@ along with this program. If not, see . - {{ event.message }} + {{ event.message }} @@ -134,3 +134,11 @@ export default { path: PATH, } + + 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 a502689c5..78ee8620a 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,24 +43,30 @@ along with this program. If not, see . - + - + -