Skip to content

Commit

Permalink
Merge pull request #673 from SynBioHub/fixtrashCSS
Browse files Browse the repository at this point in the history
Fixtrash css
  • Loading branch information
bigautam authored Jun 5, 2024
2 parents 0d00eb6 + 77f7b5b commit 530ea78
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ yarn-error.log*

# vercel
.vercel
../synbiohub-docker/
17 changes: 11 additions & 6 deletions frontend/components/Viewing/Collection/Members.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,18 @@ function MemberTable(properties) {
</td>
<td>{getType(member)}</td>
<td>{member.description}</td>
{!isPublicCollection && (
<td onClick={() => handleIconClick(member)}>
<FontAwesomeIcon icon={icon} />
{!isPublicCollection && icon === faTrash && (
<td onClick={() => handleIconClick(member)} className={styles.modalicon} title="Delete Member">
<FontAwesomeIcon icon={faTrash} />
</td>
)}
</tr>
);
)}
{!isPublicCollection && icon === faUnlink && (
<td onClick={() => handleIconClick(member)} className={styles.modalicon} title="Remove member from collection">
<FontAwesomeIcon icon={faUnlink} />
</td>
)}
</tr>
);
}}

/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/commitHash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ee02edf1d93748a2bab27328c0a80bf7e9e82515
438f4afa7b08703b5a5cddd52db3eecd50330620
1 change: 1 addition & 0 deletions frontend/styles/view.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@
font-size: 3rem;
margin-bottom: 1rem;
color: #2C3E50;
cursor: pointer;
}

.ownercustomselect,
Expand Down

0 comments on commit 530ea78

Please sign in to comment.