From 5910c836483d386912e35070eaf3f0c6008a5896 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Aug 09 2019 18:56:19 +0000 Subject: šŸ›šŸ–¼ Fix navbar bug (there can be too much items for some settings) --- diff --git a/CHANGELOG b/CHANGELOG index c639627..9e9f0b4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,8 @@ Revision history for Lufi - Fix bug on cookie-based language choice when using two instances on same domain, with oneā€™s path is the beginning of the other instanceā€™s path. 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 - Allow to zip the files before upload diff --git a/themes/default/public/css/lufi.css b/themes/default/public/css/lufi.css index ea2433f..5277c63 100644 --- a/themes/default/public/css/lufi.css +++ b/themes/default/public/css/lufi.css @@ -223,6 +223,31 @@ button.pulse { .small-h1 { 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 { background-color: #FFF; }