Skip to content

Commit 8cdc94a

Browse files
committed
#1597 right aligned the pencil editing icon
1 parent 9fda33d commit 8cdc94a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/frontend/src/pages/TeamsPage/TeamMembersPageBlock.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,18 +179,18 @@ const TeamMembersPageBlock: React.FC<TeamMembersPageBlockProps> = ({ team }) =>
179179

180180
const NonEditingHeadView = () => (
181181
<Grid container>
182-
<Grid item>
182+
<Grid item xs={11} lg="auto">
183183
<DetailDisplay label="Head" content={fullNamePipe(team.head)} />
184184
</Grid>
185-
<Grid item mt={-1}>
186-
{hasPerms && <IconButton children={<Edit />} onClick={() => setIsEditingHead(true)} />}
185+
<Grid item xs={1} mt={-1}>
186+
{hasPerms && <IconButton children={<Edit />} onClick={() => setIsEditingLeads(true)} />}
187187
</Grid>
188188
</Grid>
189189
);
190190

191191
const NonEditingLeadsView = () => (
192192
<Grid container>
193-
<Grid item xs={11} lg="auto">
193+
<Grid item xs={11}>
194194
<DetailDisplay label="Leads" content={team.leads.map((lead) => fullNamePipe(lead)).join(', ')} />
195195
</Grid>
196196
<Grid item xs={1} mt={-1}>

0 commit comments

Comments
 (0)