Skip to content

Commit c7b75b7

Browse files
committed
fix responsiveness
1 parent 09f8b75 commit c7b75b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ export default function Home() {
408408
************************************************/}
409409

410410

411-
<div style={{
411+
<Box sx={{
412412
display: "flex",
413-
flexDirection: isMobile ? "column" : "row",
413+
flexDirection: { xs: "column", md: "row" },
414414
marginTop: "12px",
415415
}}>
416416
<div
@@ -576,7 +576,7 @@ export default function Home() {
576576
// theme={isDark ? "dark" : "light"}
577577
/>
578578
</div>
579-
</div>
579+
</Box>
580580
{/* {`
581581
from datetime import datetime
582582
now = datetime.now()

0 commit comments

Comments
 (0)