[ARVADOS-WORKBENCH2] updated: 2.4.0-37-g9d76aaa7
Git user
git at public.arvados.org
Wed Apr 20 14:29:49 UTC 2022
Summary of changes:
.../process-runtime-status/process-runtime-status.tsx | 10 +++++++---
src/views/process-panel/process-details-card.tsx | 4 +++-
2 files changed, 10 insertions(+), 4 deletions(-)
via 9d76aaa7f959780465232366551c5f1e970d1752 (commit)
from e93453d8882428f0cfeda3f7692e843185b734c7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9d76aaa7f959780465232366551c5f1e970d1752
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Wed Apr 20 11:29:21 2022 -0300
19045: Improves padding on several places.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/src/views-components/process-runtime-status/process-runtime-status.tsx b/src/views-components/process-runtime-status/process-runtime-status.tsx
index a2cd455c..3858e49e 100644
--- a/src/views-components/process-runtime-status/process-runtime-status.tsx
+++ b/src/views-components/process-runtime-status/process-runtime-status.tsx
@@ -17,7 +17,8 @@ import { RuntimeStatus } from "models/runtime-status";
import { ArvadosTheme } from 'common/custom-theme';
import classNames from 'classnames';
-type CssRules = 'heading'
+type CssRules = 'root'
+ | 'heading'
| 'summary'
| 'summaryText'
| 'details'
@@ -28,6 +29,9 @@ type CssRules = 'heading'
| 'warningColor';
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
+ root: {
+ marginBottom: theme.spacing.unit * 1,
+ },
heading: {
fontSize: '1rem',
},
@@ -70,7 +74,7 @@ type ProcessRuntimeStatusProps = ProcessRuntimeStatusDataProps & WithStyles<CssR
export const ProcessRuntimeStatus = withStyles(styles)(
({ runtimeStatus, classes }: ProcessRuntimeStatusProps) => {
- return <>
+ return <div className={classes.root}>
{ runtimeStatus?.error &&
<div data-cy='process-runtime-status-error'><ExpansionPanel className={classes.error} elevation={0}>
<ExpansionPanelSummary className={classNames(classes.summary, classes.detailsText)} expandIcon={<ExpandMoreIcon />}>
@@ -99,5 +103,5 @@ export const ProcessRuntimeStatus = withStyles(styles)(
</ExpansionPanelDetails>
</ExpansionPanel></div>
}
- </>
+ </div>
});
\ No newline at end of file
diff --git a/src/views/process-panel/process-details-card.tsx b/src/views/process-panel/process-details-card.tsx
index 21563c16..da6438a1 100644
--- a/src/views/process-panel/process-details-card.tsx
+++ b/src/views/process-panel/process-details-card.tsx
@@ -41,8 +41,10 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
paddingTop: theme.spacing.unit * 0.5
},
content: {
+ padding: theme.spacing.unit * 1.0,
+ paddingTop: theme.spacing.unit * 0.5,
'&:last-child': {
- paddingBottom: theme.spacing.unit * 2,
+ paddingBottom: theme.spacing.unit * 1,
}
},
title: {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list