From 6f80d59b4d111454ce848f18c93aec8a891ff908 Mon Sep 17 00:00:00 2001 From: Lisa Knox Date: Tue, 2 Apr 2024 11:40:37 -0400 Subject: [PATCH] 21224: set project card to only display 3 buttons Arvados-DCO-1.1-Signed-off-by: Lisa Knox --- .../src/components/data-explorer/data-explorer.tsx | 1 - .../project-details-card/project-details-card.tsx | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/services/workbench2/src/components/data-explorer/data-explorer.tsx b/services/workbench2/src/components/data-explorer/data-explorer.tsx index f64ad4df7d..979fe35c08 100644 --- a/services/workbench2/src/components/data-explorer/data-explorer.tsx +++ b/services/workbench2/src/components/data-explorer/data-explorer.tsx @@ -248,7 +248,6 @@ export const DataExplorer = withStyles(styles)( )} {!!progressBar && progressBar} - {console.log('this.multiSelectToolbarInTitle', this.multiSelectToolbarInTitle, !this.state.msToolbarInDetailsCard)} {this.multiSelectToolbarInTitle && !this.state.msToolbarInDetailsCard && } {(!hideColumnSelector || !hideSearchInput || !!actions) && ( = (theme: ArvadosTheme) => ({ minWidth: '30rem', padding: '0.2rem 0.4rem 0.2rem 1rem', }, + projectToolbar: { + //shows only the first 3 buttons + width: '12rem !important', + }, descriptionToggle: { display: 'flex', flexDirection: 'row', @@ -306,7 +311,7 @@ const ProjectCard: React.FC = ({ classes, currentResource, fro } /> - {isSelected && } + {isSelected && }
ev.stopPropagation()}> {description ? ( -- 2.30.2