Skip to content

Commit

Permalink
fix: avoid horizontal scrolling on small viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Sendler committed Jan 24, 2025
1 parent da5ea06 commit 1388b67
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--footer-text: var(--clr-white);
--footer-bg: var(--clr-neutral-600);
background: var(--footer-bg);
display: flex;
display: none;
color: var(--footer-text);
gap: 1rem;
justify-content: flex-start;
Expand All @@ -12,6 +12,12 @@
width: 100%;
}

@media screen and (min-width: 500px) {
.footer {
display: flex;
}
}

.footer-text {
align-items: center;
color: var(--footer-text);
Expand Down

0 comments on commit 1388b67

Please sign in to comment.