Avoid search result dropdown to be hidden
This commit is contained in:
parent
99570c9c07
commit
b995dfd179
4 changed files with 22 additions and 20 deletions
|
|
@ -1,7 +1,11 @@
|
||||||
.navbar.navbar-fixed-top {
|
.navbar.navbar-fixed-top {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
box-shadow: 1px 0 2px $black;
|
box-shadow: 1px 0 2px $black;
|
||||||
a:focus {outline: 0 none; }
|
a:focus { outline: 0 none; }
|
||||||
|
|
||||||
|
.in {
|
||||||
|
overflow-y: visible; // Avoid search result dropdown to be hidden
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,11 @@ $mobile-navbar-height: 46px;
|
||||||
padding: 7px 15px;
|
padding: 7px 15px;
|
||||||
margin: 0 0 0 -15px;
|
margin: 0 0 0 -15px;
|
||||||
height: $mobile-navbar-height;
|
height: $mobile-navbar-height;
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 30px;
|
||||||
|
width: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-badges {
|
#nav-badges {
|
||||||
|
|
@ -87,12 +92,6 @@ $mobile-navbar-height: 46px;
|
||||||
background-color: $red;
|
background-color: $red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#header-title{
|
|
||||||
img {
|
|
||||||
height: 30px;
|
|
||||||
width: 30px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#drawer {
|
#drawer {
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,11 @@
|
||||||
.container-fluid
|
.container-fluid
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
.not-connected-menu
|
||||||
|
.navbar-header.navbar-left
|
||||||
|
.hidden-xs
|
||||||
|
= link_to AppConfig.settings.pod_name, root_path, class: "navbar-brand"
|
||||||
|
.visible-xs.header-title
|
||||||
|
= link_to(image_tag("branding/logos/asterisk_white_mobile.png", class: "img-responsive"),
|
||||||
|
root_path, class: "navbar-brand")
|
||||||
= render "layouts/header_not_connected"
|
= render "layouts/header_not_connected"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,4 @@
|
||||||
.not-connected-menu
|
%ul.nav.navbar-nav.navbar-right
|
||||||
.navbar-header.navbar-left
|
|
||||||
.hidden-xs
|
|
||||||
= link_to AppConfig.settings.pod_name, root_path, class: "navbar-brand"
|
|
||||||
.visible-xs#header-title
|
|
||||||
= link_to(image_tag("branding/logos/asterisk_white_mobile.png", class: "img-responsive"),
|
|
||||||
root_path, class: "navbar-brand")
|
|
||||||
|
|
||||||
%ul.nav.navbar-nav.navbar-right
|
|
||||||
- if AppConfig.settings.enable_registrations? && !current_page?(controller: "/registrations", action: :new)
|
- if AppConfig.settings.enable_registrations? && !current_page?(controller: "/registrations", action: :new)
|
||||||
%li= link_to t("devise.shared.links.sign_up"), new_user_registration_path, class: "login"
|
%li= link_to t("devise.shared.links.sign_up"), new_user_registration_path, class: "login"
|
||||||
%li= link_to t("devise.shared.links.sign_in"), new_user_session_path, class: "login"
|
%li= link_to t("devise.shared.links.sign_in"), new_user_session_path, class: "login"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue