[arvados] updated: 2.7.0-6514-g7735145aa4
git repository hosting
git at public.arvados.org
Mon Apr 22 17:47:23 UTC 2024
Summary of changes:
.../project-details-card/project-details-card.tsx | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
via 7735145aa4971c1ef8e3060bfc1439b7d2de6f86 (commit)
from ed2f44c981f2e8898bea9f791f947865b129f5e0 (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 7735145aa4971c1ef8e3060bfc1439b7d2de6f86
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Mon Apr 22 13:47:19 2024 -0400
21224: repositioned nodescription field Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/views-components/project-details-card/project-details-card.tsx b/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
index 49884e45de..0699e7b416 100644
--- a/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
+++ b/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
@@ -56,8 +56,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
noDescription: {
color: theme.palette.grey['600'],
fontStyle: 'italic',
- padding: '0 0 0.5rem 1rem',
- marginTop: '-0.5rem',
+ marginLeft: '2rem',
},
userNameContainer: {
display: 'flex',
@@ -68,6 +67,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
width: '100%',
display: 'flex',
flexDirection: 'row',
+ alignItems: 'center',
justifyContent: 'space-between',
},
cardHeader: {
@@ -308,6 +308,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ classes, currentResource, fro
</Tooltip>
)}
</section>
+ {!description && <Typography className={classes.noDescription}>no description available</Typography>}
</section>
}
/>
@@ -337,12 +338,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ classes, currentResource, fro
</section>
</section>
) : (
- <Typography
- className={classes.noDescription}
- data-cy='no-description'
- >
- no description available
- </Typography>
+ <></>
)}
{typeof currentResource.properties === 'object' && Object.keys(currentResource.properties).length > 0 ? (
<section
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list