16073: Move process io preview links below image, add maxwidth to image
authorStephen Smith <stephen@curii.com>
Mon, 29 Aug 2022 22:45:02 +0000 (18:45 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 29 Aug 2022 22:45:02 +0000 (18:45 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views/process-panel/process-io-card.tsx

index 119bbb571305df45ddd7d1d49193d501872e6845..4b2413ce47668fd91f144c78d04e967cc74c6f44 100644 (file)
@@ -97,7 +97,8 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     paramValue: {
         display: 'flex',
-        alignItems: 'center',
+        alignItems: 'flex-start',
+        flexDirection: 'column',
     },
     keepLink: {
         color: theme.palette.primary.main,
@@ -107,7 +108,8 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     imagePreview: {
         maxHeight: '15em',
-        marginRight: theme.spacing.unit,
+        maxWidth: '15em',
+        marginBottom: theme.spacing.unit,
     },
     valArray: {
         display: 'flex',