Skip to content

Commit

Permalink
Merge pull request #2831 from OneCommunityGlobal/rahul-fix-teams-moda…
Browse files Browse the repository at this point in the history
…l-ui

Rahul Fix Teams Modal UI
  • Loading branch information
one-community authored Dec 14, 2024
2 parents a99db5c + 136ab4a commit f0b3d74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
11 changes: 3 additions & 8 deletions src/components/Projects/WBS/WBSDetail/wbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
width: calc(100% - 40px);
}

/*
.container {
overflow: auto;
}
*/

.level-space-1 {
margin-left: 0px;
}
Expand Down Expand Up @@ -265,7 +259,7 @@
}

.tasks-detail-task-name { /* task column height and width changes*/
width: 35%;
width: 35%;
height: auto;
}
.tasks-detail-actions { /* action column width reduced */
Expand All @@ -275,4 +269,5 @@
.button-group button {
margin-bottom: 10px;
}
}
}

8 changes: 5 additions & 3 deletions src/components/Teams/TeamMembersPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,10 @@ export const TeamMembersPopup = React.memo(props => {
className={darkMode ? 'bg-space-cadet' : ''}
toggle={closePopup}
>{`Members of ${props.selectedTeamName}`}</ModalHeader>
<ModalBody className={darkMode ? 'bg-yinmn-blue' : ''} style={{ textAlign: 'center' }}>
<div
className={darkMode ? 'bg-space-cadet' : ''}>
{canAssignTeamToUsers && (
<div className="input-group-prepend" style={{ marginBottom: '10px' }}>
<div className="input-group-prepend" style={{ margin: '10px' }}>
<MembersAutoComplete
userProfileData={props.usersdata}
existingMembers={validation}
Expand All @@ -217,7 +218,8 @@ export const TeamMembersPopup = React.memo(props => {
</Button>
</div>
)}

</div>
<ModalBody className={darkMode ? 'bg-yinmn-blue' : ''} style={{ textAlign: 'center', overflowX: 'auto' }}>
{duplicateUserAlert ? (
<Alert color="danger">Member is already a part of this team.</Alert>
) : isValidUser === false ? (
Expand Down

0 comments on commit f0b3d74

Please sign in to comment.