diff --git a/src/views/domain-page/domain-page-header-info/domain-page-header-info.styles.ts b/src/views/domain-page/domain-page-header-info/domain-page-header-info.styles.ts index 5ba0ee4d1..d6a766db4 100644 --- a/src/views/domain-page/domain-page-header-info/domain-page-header-info.styles.ts +++ b/src/views/domain-page/domain-page-header-info/domain-page-header-info.styles.ts @@ -3,7 +3,12 @@ import { styled as createStyled } from 'baseui'; export const styled = { DomainDetailsContainer: createStyled('div', ({ $theme }) => ({ display: 'flex', - flexDirection: 'row', + flexDirection: 'column', + flexWrap: 'wrap', columnGap: $theme.sizing.scale850, + rowGap: $theme.sizing.scale500, + [$theme.mediaQuery.medium]: { + flexDirection: 'row', + }, })), }; diff --git a/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.styles.ts b/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.styles.ts index 4c8a8e216..f125c4b0b 100644 --- a/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.styles.ts +++ b/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.styles.ts @@ -24,12 +24,24 @@ const cssStylesObj = { display: 'flex', flexDirection: 'column', }, - timelineEventHeader: { + timelineEventHeader: (theme) => ({ display: 'flex', alignItems: 'center', - gap: '16px', - padding: '12px 0', - }, + gap: theme.sizing.scale600, + padding: `${theme.sizing.scale500} 0`, + }), + timelineEventLabelAndTime: (theme) => ({ + display: 'flex', + flexDirection: 'column', + gap: 0, + overflow: 'hidden', + [theme.mediaQuery.medium]: { + display: 'flex', + flexDirection: 'row', + alignItems: 'center', + gap: theme.sizing.scale200, + }, + }), timelineEventsLabel: (theme) => ({ ...theme.typography.LabelLarge, whiteSpace: 'nowrap', diff --git a/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.tsx b/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.tsx index 00eeb9ceb..09b308263 100644 --- a/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.tsx +++ b/src/views/workflow-history/workflow-history-timeline-group/workflow-history-timeline-group.tsx @@ -27,9 +27,11 @@ export default function WorkflowHistoryTimelineGroup({