From 95de1e866214e4268b03e94bb1b40d656e17dcad Mon Sep 17 00:00:00 2001 From: Georgi Manev <61829525+Georgi2704@users.noreply.github.com> Date: Wed, 4 Dec 2024 09:35:18 +0100 Subject: [PATCH] 1552 Remove last line of workflow timeline card (#1612) --- .changeset/lazy-suns-love.md | 5 ++++ .../src/components/WfoSubscription/styles.ts | 27 +++++++++++-------- 2 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 .changeset/lazy-suns-love.md diff --git a/.changeset/lazy-suns-love.md b/.changeset/lazy-suns-love.md new file mode 100644 index 000000000..1dc23abb7 --- /dev/null +++ b/.changeset/lazy-suns-love.md @@ -0,0 +1,5 @@ +--- +'@orchestrator-ui/orchestrator-ui-components': patch +--- + +1552 Remove last line of workflow timeline card diff --git a/packages/orchestrator-ui-components/src/components/WfoSubscription/styles.ts b/packages/orchestrator-ui-components/src/components/WfoSubscription/styles.ts index b3437c59f..1c8b65ebc 100644 --- a/packages/orchestrator-ui-components/src/components/WfoSubscription/styles.ts +++ b/packages/orchestrator-ui-components/src/components/WfoSubscription/styles.ts @@ -34,18 +34,23 @@ export const getSubscriptionDetailStyles = ({ theme }: WfoTheme) => { }); const workflowTargetStyle = css({ fontWeight: theme.font.weight.bold }); - const lastContentCellStyle = css({ - ...contentCellStyle, - border: 0, - }); + const lastContentCellStyle = css([ + { + ...contentCellStyle, + }, + { + borderBottom: 0, + }, + ]); - const lastHeaderCellStyle = css({ - padding: theme.base, - paddingLeft: 0, - width: 250, - fontWeight: theme.font.weight.medium, - border: 0, - }); + const lastHeaderCellStyle = css([ + { + ...headerCellStyle, + }, + { + borderBottomWidth: 0, + }, + ]); const inUseByRelationDetailsStyle = css({ borderColor: theme.colors.lightShade,