[arvados] updated: 2.7.0-5843-g5b04f19b3c

git repository hosting git at public.arvados.org
Thu Jan 25 19:21:16 UTC 2024


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

       via  5b04f19b3c8d308abe01644d83726b63a483364a (commit)
      from  4c06248097735c7dbaf3364cb387e055e1ae8e35 (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 5b04f19b3c8d308abe01644d83726b63a483364a
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Jan 25 14:21:12 2024 -0500

    21224: changed project description layout 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 8334e71342..b75cb9e887 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
@@ -32,11 +32,11 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         marginBottom: '1rem',
     },
     fadeout: {
-        maxWidth: '30rem',
+        maxWidth: '25rem',
         minWdidth: '18rem',
-        height: '2.5rem',
+        height: '1.5rem',
         overflow: 'hidden',
-        WebkitMaskImage: '-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))',
+        WebkitMaskImage: '-webkit-gradient(linear, left bottom, right bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))',
     },
     nameContainer: {
         display: 'flex',
@@ -183,7 +183,7 @@ const ProjectCard = ({ props }) => {
                 subheader={
                     description ? (
                         <section>
-                            <Typography className={classes.fadeout}>{description.replace(/<[^>]*>/g, '')}</Typography>
+                            <Typography className={classes.fadeout}>{description.replace(/<[^>]*>/g, '').slice(0, 45)}...</Typography>
                             <RichTextEditorLink
                                 title={`Description of ${name}`}
                                 content={description}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list