Skip to content

Commit b4746b8

Browse files
committed
Update grid item breakpoints for responsive layout in TitleBar and AllEmailList components
1 parent 850b296 commit b4746b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

react/src/components/common/TitleBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const TitleBar = () => {
4343
TrashMail
4444
</p>
4545

46-
<Grid item xs={12} sm={2}>
46+
<Grid item xs={12} md={2}>
4747
<Box
4848
sx={{
4949
display: "flex",

react/src/components/pages/AllEmailList/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ const AllEmailList = () => {
9696
<>
9797
<Grid container spacing={2} sx={{ height: "100%" }}>
9898
<ButtonSection />
99-
<Grid item xs={12} sm={1} sx={{ marginTop: isMobile ? "0vh" : "6vh" }}></Grid>
100-
<Grid item xs={12} sm={8} sx={{ marginTop: isMobile ? "0vh" : "6vh" }}>
99+
<Grid item xs={12} md={1} sx={{ marginTop: isMobile ? "0vh" : "6vh" }}></Grid>
100+
<Grid item xs={12} md={8} sx={{ marginTop: isMobile ? "0vh" : "6vh" }}>
101101
<Typography
102102
variant="h5"
103103
gutterBottom

0 commit comments

Comments
 (0)