Skip to content

Commit

Permalink
style(style): better margins for smaller devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeonoi committed Oct 25, 2024
1 parent d908fcd commit d7a50f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Background from "./background";
const About: React.FC = () => {
return (
<main id="about" className="animate-fadeIn">
<Background styles="h-screen flex items-center">
<Background styles="h-full md:h-screen flex items-center">
{/* <div className="grid grid-cols-2 text-black max-w-4xl mx-auto p-6"> */}
<div className="grid grid-cols-1 md:grid-cols-2 text-white justify-items-center mx-auto p-10">
<section className="mb-8 max-w-3xl">
Expand Down
2 changes: 1 addition & 1 deletion components/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Projects: React.FC = () => {
<Background>
<p
id="projects"
className="text-5xl items-center text-center text-white scroll-m-14 m-10"
className="text-5xl items-center text-center text-white scroll-m-14 m-20 lg:m-10"
>
Projects
</p>
Expand Down
2 changes: 1 addition & 1 deletion components/resume.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Resume: React.FC = () => {
return (
<main id="resume" className="animate-fadeIn scroll-m-14">
<Background styles="h-screen">
<p className="text-5xl items-center text-center text-white m-10">
<p className="text-5xl items-center text-center text-white m-20 lg:m-10">
Resume
</p>
<div className="grid grid-cols-1 lg:grid-cols-2">
Expand Down

0 comments on commit d7a50f0

Please sign in to comment.