Skip to content

Commit

Permalink
fix: mobile overlap issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwoods committed Dec 28, 2019
1 parent e6dcee4 commit 64e011a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/home/introduction/introduction.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
}

.background {
margin-top: 30px;
margin-top: 100px;
background: #f3f5f7;
}

.imageWrapper {
display: flex;
justify-content: center;
text-align: center;
padding: 15px;
}

.image {
margin-top: -75px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 0.5rem 1rem;
}

Expand Down
8 changes: 7 additions & 1 deletion src/components/home/title/title.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.container {
margin-top: 125px;
margin-top: 50px;
text-align: right;
}

Expand All @@ -22,3 +22,9 @@
font-weight: 400;
text-transform: uppercase;
}

@media (min-width: 600px) {
.container {
margin-top: 125px;
}
}
4 changes: 2 additions & 2 deletions src/components/home/title/title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import css from "./title.module.css";
export const Title = () => (
<div className={css.wrapper}>
<div className={css.container}>
<h1 className={css.title}>Projects I have been working on</h1>
<p className={css.subtitle}>Currently focusing on Serverless/DynamoDB</p>
<h1 className={css.title}>Projects Ongoing</h1>
<p className={css.subtitle}>Currently focusing on Serverless</p>
</div>
</div>
);

0 comments on commit 64e011a

Please sign in to comment.