Skip to content

Commit

Permalink
fix login page for Firefox and mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadax committed Dec 2, 2024
1 parent 6df0082 commit 15aec79
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scss/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
display: grid;
grid-template-columns: 1fr 2fr;
margin-bottom: 0.5rem;
gap: 1rem;

@media(max-width: 400px) {
grid-template-columns: auto;
gap: 0;
}
}

#input-loginform-login {
Expand Down
7 changes: 7 additions & 0 deletions src/cone/app/browser/static/cone/cone.app.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,13 @@ tr.selectable td {
display: grid;
grid-template-columns: 1fr 2fr;
margin-bottom: 0.5rem;
gap: 1rem;
}
@media (max-width: 400px) {
#form-loginform #field-loginform-user, #form-loginform #field-loginform-password {
grid-template-columns: auto;
gap: 0;
}
}
#form-loginform #input-loginform-login {
margin-top: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion src/cone/app/browser/static/cone/cone.app.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15aec79

Please sign in to comment.