mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Fix responsive issue
This commit is contained in:
parent
fa24c2d090
commit
ede515f7a2
@ -20,6 +20,12 @@ header .dropdown .fa-gear {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.main-header[forActiveUser="true"] .navbar-brand {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.skin-blue .main-header .navbar .dropdown-user-menu-action .dropdown-menu li a {
|
||||
color: #333 !important;
|
||||
|
@ -91,14 +91,12 @@ ComunicWeb.components.menuBar.common = {
|
||||
var navbarCollapsIcon = createElem("i", navbarCollapsedButton);
|
||||
navbarCollapsIcon.className = "fa fa-bars";
|
||||
|
||||
//Now we need to know if user is logged in or not
|
||||
var userLoggedIn = ComunicWeb.user.userLogin.getUserLoginState();
|
||||
|
||||
//Save login information in menubar before continuing
|
||||
menuContainer.setAttribute("forActiveUser", userLoggedIn);
|
||||
menuContainer.setAttribute("forActiveUser", signed_in());
|
||||
|
||||
//Call specific menu
|
||||
if(userLoggedIn){
|
||||
if(signed_in()){
|
||||
//Call authenticated menubar
|
||||
ComunicWeb.components.menuBar.authenticated.addElements(containerElem);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user