Skip to content

Commit

Permalink
docs: fix footer on landing (#2997)
Browse files Browse the repository at this point in the history
On mobile (<996px) the footer margin was broken - this PR fixes that

Before:

<img width="409" alt="image"
src="https://github.com/user-attachments/assets/4f508a5f-cf5a-4146-ae70-9d2d3b877585">

After:

<img width="408" alt="image"
src="https://github.com/user-attachments/assets/f93fdcab-135f-45c7-a04f-eec4896299a3">
  • Loading branch information
patrycjakalinska authored Jul 16, 2024
1 parent 43f00ab commit 5c4f992
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/src/components/FooterBackground/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,30 @@
[class*='footerLanding'] {
margin-top: -106px;
}

@media (max-width: 996px) {
.moonContainer {
margin-top: 121px;
}
[class*='footerLanding'] {
margin-top: -121px;
}
}

@media (max-width: 700px) {
.moonContainer {
margin-top: 147px;
}
[class*='footerLanding'] {
margin-top: -147px;
}
}

@media (max-width: 376px) {
.moonContainer {
margin-top: 173px;
}
[class*='footerLanding'] {
margin-top: -173px;
}
}

0 comments on commit 5c4f992

Please sign in to comment.