Skip to content

Commit dceae5f

Browse files
committed
Fix mobile
1 parent ddd39ce commit dceae5f

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

site/src/components/PageHeader/FullWidthPageHeader.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,20 @@ const useStyles = makeStyles((theme) => ({
3434
top: 0,
3535
zIndex: 10,
3636
flexWrap: "wrap",
37+
38+
[theme.breakpoints.down("md")]: {
39+
position: "unset",
40+
alignItems: "flex-start",
41+
},
42+
[theme.breakpoints.down("sm")]: {
43+
flexDirection: "column",
44+
},
3745
},
3846
actions: {
3947
marginLeft: "auto",
48+
[theme.breakpoints.down("sm")]: {
49+
marginLeft: "unset",
50+
},
4051
},
4152
title: {
4253
fontSize: 18,

site/src/components/WorkspaceStats/WorkspaceStats.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,15 @@ const useStyles = makeStyles((theme) => ({
311311
padding: 0,
312312
border: 0,
313313
gap: theme.spacing(6),
314+
rowGap: theme.spacing(3),
315+
flex: 1,
316+
317+
[theme.breakpoints.down("sm")]: {
318+
display: "flex",
319+
flexDirection: "column",
320+
alignItems: "flex-start",
321+
gap: theme.spacing(1),
322+
},
314323
},
315324

316325
statsItem: {

0 commit comments

Comments
 (0)