Skip to content

Commit d27f99d

Browse files
Additional responsiveness fixes
1 parent ce0c2b4 commit d27f99d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
<title>EMB Engineering - Software Engineer & Life Enthusiast</title>
5151
</head>
52-
<body class="font-sans antialiased text-gray-900 leading-normal tracking-wider bg-screen-image bg-cover">
52+
<body class="font-sans antialiased text-gray-900 leading-normal tracking-wider bg-screen-image bg-cover bg-center min-h-screen">
5353
<noscript>You need to enable JavaScript to run this website.</noscript>
5454
<div id="root"></div>
5555
<script type="module" src="/src/main.tsx"></script>

src/components/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Home = () => {
2929
}, [darkMode]);
3030

3131
return (
32-
<div className="max-w-7xl max-h-screen h-screen flex items-center justify-center px-6 mx-auto">
32+
<div className="max-w-7xl flex items-center justify-center px-6 pt-20 pb-6 lg:py-6 mx-auto">
3333
<div className="w-full lg:basis-2/3 rounded-lg lg:rounded-l-lg shadow-2xl bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100">
3434
<div className="p-4 md:p-12 text-center lg:text-left">
3535
<div className="block lg:hidden rounded-full shadow-xl mx-auto -mt-16 h-48 w-48 bg-cover bg-center bg-profile-mobile"></div>

0 commit comments

Comments
 (0)