[arvados] updated: 2.7.0-6042-gaeb5fc2083

git repository hosting git at public.arvados.org
Mon Feb 26 16:37:46 UTC 2024


Summary of changes:
 .../project-details-card/project-details-card.tsx                 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

       via  aeb5fc2083386f3ca04235807ff5be4c37e92ecc (commit)
      from  c4360c5cf5c952786860d03f5d426ac555e03955 (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 aeb5fc2083386f3ca04235807ff5be4c37e92ecc
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Feb 26 11:37:41 2024 -0500

    21224: added text gradient and first line 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 5447dd58bf..351e645db5 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
@@ -55,8 +55,10 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         border: '2px solid #ccc',
     },
     showMore: {
-        color: theme.palette.primary.main,
         cursor: 'pointer',
+        background: 'linear-gradient(to right, black, transparent)',
+        backgroundClip: 'text',
+        color: 'transparent',
     },
     noDescription: {
         color: theme.palette.grey['600'],
@@ -112,7 +114,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     },
     tag: {
         marginRight: '1rem',
-        marginTop: '0.5rem',
+        marginTop: '1rem',
     },
     description: {
         marginTop: '1rem',
@@ -368,7 +370,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ classes, currentResource, fro
                             className={classes.showMore}
                             data-cy='toggle-description'
                         >
-                            {!showDescription ? 'Show full description' : 'Hide full description'}
+                            {description.slice(0, 100)}
                         </Typography>
                     </section>
                 ) : (

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list