X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ad6191d53207a8b2d4c0c8a30b18119daaa5fbc..4e3387a5939fe7e9c958710497d95057909670b5:/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..c10f558e77 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', @@ -86,7 +87,7 @@ export const DetailsAttribute = connect(mapStateToProps)(withStyles(styles)( render() { const { uuidEnhancer, link, value, classes, linkToUuid, - localCluster, remoteHostsConfig, sessions } = this.props; + localCluster, remoteHostsConfig, sessions, label } = this.props; let valueNode: React.ReactNode; if (linkToUuid) { @@ -115,7 +116,7 @@ interface DetailsAttributeComponentProps { export const DetailsAttributeComponent = withStyles(styles)( (props: DetailsAttributeDataProps & WithStyles & DetailsAttributeComponentProps) => - + {props.label} } ); -