Skip to content

Commit 366e553

Browse files
committed
#1513: make team on same line as everything else when screen is big enough
1 parent 277b5b0 commit 366e553

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/frontend/src/pages/SettingsPage/Settings.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,22 +139,22 @@ const Settings: React.FC = () => {
139139
</PageBlock>
140140
<PageBlock title="User Details">
141141
<Grid container spacing={2}>
142-
<Grid item md={4} lg={2}>
142+
<Grid item xs={12} sm={6} md={4} lg>
143143
<DetailDisplay label="First Name" content={user.firstName} />
144144
</Grid>
145-
<Grid item md={4} lg={2}>
145+
<Grid item xs={12} sm={6} md={4} lg>
146146
<DetailDisplay label="Last Name" content={user.lastName} />
147147
</Grid>
148-
<Grid item md={4} lg={3}>
148+
<Grid item xs={12} sm={6} md={4} lg={3}>
149149
<DetailDisplay label="Email" content={user.email} />
150150
</Grid>
151-
<Grid item md={4} lg={2}>
151+
<Grid item xs={12} sm={6} md={4} lg>
152152
<DetailDisplay label="Email ID" content={String(user.emailId)} />
153153
</Grid>
154-
<Grid item md={4} lg={2}>
154+
<Grid item xs={12} sm={6} md={4} lg>
155155
<DetailDisplay label="Role" content={user.role} />
156156
</Grid>
157-
<Grid item md={4} lg={3}>
157+
<Grid item xs={12} sm={6} md={4} lg>
158158
<DetailDisplay
159159
label="Teams"
160160
content={userTeams.length === 0 ? 'None' : userTeams.map((team) => team.teamName).join(', ')}

0 commit comments

Comments
 (0)