🐛🖼 Fix navbar bug (there can be too much items for some settings)

This commit is contained in:
Luc Didry 2019-08-09 20:56:19 +02:00
parent 1661463a4d
commit 5910c83648
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
2 changed files with 27 additions and 0 deletions

View File

@ -7,6 +7,8 @@ Revision history for Lufi
- Fix bug on cookie-based language choice when using two instances on same - Fix bug on cookie-based language choice when using two instances on same
domain, with ones path is the beginning of the other instances path. domain, with ones path is the beginning of the other instances path.
WARNING! You need to do a `carton install --deployment …` to have the fix. WARNING! You need to do a `carton install --deployment …` to have the fix.
- Fix navbar bug (there can be too much items in it, depending on Lufi
settings (LDAP, invitations…), trouble beginning at screens < 1800px)
0.04.0 2019-08-04 0.04.0 2019-08-04
- Allow to zip the files before upload - Allow to zip the files before upload

View File

@ -223,6 +223,31 @@ button.pulse {
.small-h1 { .small-h1 {
font-size: 2.2rem; font-size: 2.2rem;
} }
@media only screen and (max-width: 1800px) {
ul.hide-on-med-and-down {
display: none !important;
}
nav a.button-collapse {
display: block !important;
}
nav .brand-logo {
left: 50%;
transform: translateX(-50%);
}
nav .brand-logo.left, nav .brand-logo.right {
padding: 0;
transform: none;
}
nav .brand-logo.left {
left: 0.5rem;
}
nav .brand-logo.right {
right: 0.5rem;
left: auto;
}
}
.white-background { .white-background {
background-color: #FFF; background-color: #FFF;
} }