X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/53022b7d9f1cad38d709f92e70b86f44cd436c18..247b312a502ac3fdcc915a2e6e858a0eea8c0c5b:/src/components/details-attribute/details-attribute.tsx diff --git a/src/components/details-attribute/details-attribute.tsx b/src/components/details-attribute/details-attribute.tsx index 32ab1671..78b4341d 100644 --- a/src/components/details-attribute/details-attribute.tsx +++ b/src/components/details-attribute/details-attribute.tsx @@ -17,10 +17,12 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ marginBottom: theme.spacing.unit }, label: { + boxSizing: 'border-box', color: theme.palette.grey["500"], width: '40%' }, value: { + boxSizing: 'border-box', width: '60%', display: 'flex', alignItems: 'flex-start', @@ -33,14 +35,15 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ width: '60%', color: theme.palette.primary.main, textDecoration: 'none', - overflowWrap: 'break-word' + overflowWrap: 'break-word', + cursor: 'pointer' } }); interface DetailsAttributeDataProps { label: string; classLabel?: string; - value?: string | number; + value?: React.ReactNode; classValue?: string; lowercaseValue?: boolean; link?: string;