From 820b3e84694cb149b6f6bfb2737ab76a86754ec5 Mon Sep 17 00:00:00 2001 From: "martin.jurcoglina" Date: Fri, 23 Aug 2024 13:45:22 +0200 Subject: [PATCH] #1906-tweeked column widths --- frontend/src/pages/Workflows/WorkflowItem.js | 68 +++++++++---------- .../src/pages/Workflows/WorkflowItem.scss | 4 +- 2 files changed, 35 insertions(+), 37 deletions(-) diff --git a/frontend/src/pages/Workflows/WorkflowItem.js b/frontend/src/pages/Workflows/WorkflowItem.js index 974a1b41a..5d7941ed1 100644 --- a/frontend/src/pages/Workflows/WorkflowItem.js +++ b/frontend/src/pages/Workflows/WorkflowItem.js @@ -499,41 +499,39 @@ export const WorkflowItem = ({ sx={{ backgroundColor: (theme) => theme.palette.tag.main, color: "white" }} /> - {tags.length > 1 && ( -
- - {open ? : } - - -
- {tags.map((tag) => ( - { - props.storeWorkflowitemSearchTerm(`tag:${event.target.innerText}`); - }} - sx={{ backgroundColor: (theme) => theme.palette.tag.main, color: "white" }} - /> - ))} -
-
-
- )} +
+ + {open ? : } + + +
+ {tags.map((tag) => ( + { + props.storeWorkflowitemSearchTerm(`tag:${event.target.innerText}`); + }} + sx={{ backgroundColor: (theme) => theme.palette.tag.main, color: "white" }} + /> + ))} +
+
+
)} diff --git a/frontend/src/pages/Workflows/WorkflowItem.scss b/frontend/src/pages/Workflows/WorkflowItem.scss index 4e85cf664..ad6dd85db 100644 --- a/frontend/src/pages/Workflows/WorkflowItem.scss +++ b/frontend/src/pages/Workflows/WorkflowItem.scss @@ -147,13 +147,13 @@ } .action-cell { - width: 10%; + width: 15%; display: flex; align-items: center; } .tag-cell { - width: 15%; + width: 10%; display: flex; align-items: center; overflow-x: hidden;