Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Layout Issue Misalignment on Mobile Devices Above 375px #541

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions src/styles/vocab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,72 @@
display: block;
}
}
.container {
padding-left: 15px;
padding-right: 15px;
}

#app > footer {
grid-template-columns: 1fr;
grid-template-areas:
"logo"
"nav"
"contact"
"subscribe"
"donate"
"license";
gap: 20px;
}

#app > footer .footer-menu ul {
flex-direction: column;
}

#app > footer .footer-menu ul li {
margin-bottom: 10px;
}

#app > footer .subscribe form {
flex-direction: column;
}

#app > footer .subscribe form input.input,
#app > footer .subscribe form input.button {
width: 100%;
border-radius: 4px;
margin-bottom: 10px;
}

#app > footer .donate {
text-align: center;
}

#app > footer .donate a.donate {
width: 100%;
justify-content: center;
}


@media only screen and (min-width: 376px) and (max-width: 768px) {
/* Adjustments for devices above 375px but below or equal to 768px */
.container {
max-width: 90%;
margin-left: auto;
margin-right: auto;
}

#app > footer {
padding-left: 5%;
padding-right: 5%;
}

#app > footer .identity-logo {
margin-bottom: 20px;
}

#app > footer .footer-menu ul {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
}