Skip to content

Commit 1d0e131

Browse files
committed
[grid] Putting queue below running sessions (UI)
Like that, when the queue is big, running sessions won't be pushed way to much to the bottom and will still be visible.
1 parent 965023b commit 1d0e131

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

javascript/grid-ui/src/components/QueuedSessions/QueuedSessions.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const useStyles = makeStyles((theme: Theme) =>
88
createStyles({
99
root: {
1010
width: '100%',
11+
paddingTop: 30,
1112
},
1213
queueList: {
1314
minWidth: 750,

javascript/grid-ui/src/screens/Sessions/Sessions.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function Sessions() {
2323
</Grid>
2424
);
2525
}
26+
2627
if (error) {
2728
const message = "There has been an error while loading the running and queued Sessions from the Grid."
2829
return (
@@ -42,8 +43,8 @@ export default function Sessions() {
4243

4344
return (
4445
<Grid container spacing={3}>
45-
<QueuedSessions sessionQueueRequests={data.sessionsInfo.sessionQueueRequests}/>
4646
<RunningSessions sessions={data.sessionsInfo.sessions}/>
47+
<QueuedSessions sessionQueueRequests={data.sessionsInfo.sessionQueueRequests}/>
4748
</Grid>
4849
);
4950
}

0 commit comments

Comments
 (0)