Skip to content

Commit

Permalink
Bugfix/vadc defect20 unlabeled3 button (#1603)
Browse files Browse the repository at this point in the history
* PPS-1564 PPS-1567 PPS-1585: update guppy to 0.19.1 (#1601)

* bugfix(vadcDefect20Unlabled3Button): initial commit

* bugfix(vadcDefect20Unlabled3Button): reverted unintentionally changed files

---------

Co-authored-by: Shawn O'Connor <ocshawn@ocshawn.com>
  • Loading branch information
jarvisraymond-uchicago and ocshawn authored Oct 9, 2024
1 parent aaa0b06 commit e68742c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';

const EditIcon = () => (
<svg
role='button'
xmlns='http://www.w3.org/2000/svg'
width='16'
height='16'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
.team-project-header_modal-button {
margin-left: 10px;
cursor: pointer;
border: none;
background: none;
height: auto;
width: auto;
}

.team-project-header_modal-button:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ const TeamProjectHeader = ({ isEditable }) => {
<div className='team-project-header'>
<strong>Team Project</strong> / {bannerText}
{isEditable && (
<span
<button
className='team-project-header_modal-button'
aria-label='Change Team Project'
type='button'
tabIndex='0'
role='button'
data-testid='team-project-edit'
onClick={() => {
showModal();
Expand All @@ -72,7 +73,7 @@ const TeamProjectHeader = ({ isEditable }) => {
}}
>
<EditIcon />
</span>
</button>
)}
</div>
{isEditable && (
Expand Down

0 comments on commit e68742c

Please sign in to comment.