Skip to content

Commit 0543fa5

Browse files
committed
fix layouting on mobile view
1 parent a60ad78 commit 0543fa5

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/pages/Home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import projects from "../utils/projects";
99
function Home() {
1010
return (
1111
<div className="antialiased max-w-2xl mb-40 flex flex-col md:flex-row m-auto mt-8 lg:mx-auto">
12-
<div className="main flex-auto min-w-0 mt-6 flex flex-col px-2 md:px-0">
12+
<div className="main flex-auto min-w-0 mt-6 flex flex-col px-2 mx-4 md:px-0">
1313
<Navbar />
1414
<Description />
1515
<Projects projects={projects} />

src/styles/style.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
* {
6-
padding: 0;
7-
margin: 0;
8-
box-sizing: border-box;
9-
}
10-
115
body {
126
font-family: "Inter", sans-serif;
137
background-color: #111010;

0 commit comments

Comments
 (0)