1
0
Fork 0
forked from forgejo/forgejo

Align language menu icon and fit the footer area (#25556)

Close #25551
This commit is contained in:
wxiaoguang 2023-06-28 22:57:50 +08:00 committed by GitHub
parent defd807073
commit b6693a2c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View file

@ -45,18 +45,26 @@
.page-footer {
display: flex;
justify-content: space-between;
background-color: var(--color-footer);
border-top: 1px solid var(--color-secondary);
line-height: 39px;
padding: 0 20px;
padding: 8px 20px;
}
.page-footer .left-links {
flex: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 0.25em;
}
.page-footer .right-links {
min-width: 180px; /* make sure the menu dropdown doesn't overflow horizontally when language name is short */
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.page-footer .right-links > a {
@ -74,7 +82,7 @@
@media (max-width: 880px) {
.page-footer {
display: block;
text-align: center;
flex-direction: column;
gap: 0.5em;
}
}