X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/66088cabf30c5291ad8894e7009d9c9af466c158..31f0010ed0833ff91600cd8ce31d4df1847882cc:/services/workbench2/src/components/details-attribute/details-attribute.tsx diff --git a/services/workbench2/src/components/details-attribute/details-attribute.tsx b/services/workbench2/src/components/details-attribute/details-attribute.tsx index 92d31b0b8e..019470c026 100644 --- a/services/workbench2/src/components/details-attribute/details-attribute.tsx +++ b/services/workbench2/src/components/details-attribute/details-attribute.tsx @@ -25,7 +25,8 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ label: { boxSizing: 'border-box', color: theme.palette.grey["600"], - width: '100%' + width: '100%', + marginTop: "0.4em", }, value: { boxSizing: 'border-box', @@ -115,7 +116,7 @@ interface DetailsAttributeComponentProps { export const DetailsAttributeComponent = withStyles(styles)( (props: DetailsAttributeDataProps & WithStyles & DetailsAttributeComponentProps) => - + {props.label} {props.value} {props.children} - {(props.linkToUuid || props.copyValue) && props.onCopy && + {(props.linkToUuid || props.copyValue) && props.onCopy && props.onCopy!("Copied")}> @@ -132,4 +133,3 @@ export const DetailsAttributeComponent = withStyles(styles)( } ); -