X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/761e9780888a343e0655563acea23577eeb5d29a..5005f810d8c5e8c9e8c94c5981b014e41d2a40b3:/src/views/process-panel/process-log-card.tsx diff --git a/src/views/process-panel/process-log-card.tsx b/src/views/process-panel/process-log-card.tsx index 936b31a549..e14f98f9b2 100644 --- a/src/views/process-panel/process-log-card.tsx +++ b/src/views/process-panel/process-log-card.tsx @@ -22,6 +22,7 @@ import { CopyIcon, LogIcon, MaximizeIcon, + UnMaximizeIcon, TextDecreaseIcon, TextIncreaseIcon, WordWrapOffIcon, @@ -54,17 +55,19 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ }, logViewer: { height: '100%', + overflowY: 'scroll', // Required for MacOS's Safari -- See #19687 }, logViewerContainer: { height: '100%', }, title: { overflow: 'hidden', - paddingTop: theme.spacing.unit * 0.5 + paddingTop: theme.spacing.unit * 0.5, + color: theme.customs.colors.greyD }, iconHeader: { fontSize: '1.875rem', - color: theme.customs.colors.green700 + color: theme.customs.colors.greyL }, root: { height: '100%', @@ -92,7 +95,7 @@ type ProcessLogsCardProps = ProcessLogsCardDataProps export const ProcessLogsCard = withStyles(styles)( ({ classes, process, filters, selectedFilter, lines, onLogFilterChange, navigateToLog, onCopy, - doHidePanel, doMaximizePanel, panelMaximized, panelName }: ProcessLogsCardProps) => { + doHidePanel, doMaximizePanel, doUnMaximizePanel, panelMaximized, panelName }: ProcessLogsCardProps) => { const [wordWrap, setWordWrap] = useState(true); const [fontSize, setFontSize] = useState(3); const fontBaseSize = 10; @@ -144,15 +147,18 @@ export const ProcessLogsCard = withStyles(styles)( + { doUnMaximizePanel && panelMaximized && + + + } { doMaximizePanel && !panelMaximized && } - { doHidePanel && - - - - } + { doHidePanel && + + + } } title={