Skip to content

Commit

Permalink
fix: fixed homepage display in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Feb 5, 2024
1 parent d163503 commit f919930
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/components/SocialLinks/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
display: flex;
align-items: center;
justify-content: space-between;
max-width: min-content;
gap: 1rem;
padding: 0.5em 0;
z-index: 100;
Expand Down Expand Up @@ -57,3 +56,9 @@
height: 24px;
transition: all 0.3s ease-in-out;
}

@media (width <= 570px) {
.socialLinks {
gap: 0;
}
}
5 changes: 4 additions & 1 deletion src/pages/_components/Hero/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
max-width: 100%;
margin: 0;
display: grid;
grid-template-columns: 8fr 11fr;
grid-template-columns: 8fr 12fr;
align-items: center;
position: relative;

Expand All @@ -14,6 +14,7 @@
}

.intro {
max-width: 100vw;
padding: 1em;
padding-left: 4em;
position: relative;
Expand Down Expand Up @@ -284,6 +285,8 @@ html[data-theme='dark'] {
}

.intro {
min-width: 100vw;

padding-top: 2em;
}
}
6 changes: 6 additions & 0 deletions src/pages/_components/SectionTitle/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@
}
}
}

@media (width <= 570px) {
.sectionTitle {
margin-top: 1.5rem;
}
}

0 comments on commit f919930

Please sign in to comment.