Avoid search result dropdown to be hidden

This commit is contained in:
flaburgan 2017-07-31 22:54:32 +02:00
parent 99570c9c07
commit b995dfd179
4 changed files with 22 additions and 20 deletions

View file

@ -3,6 +3,10 @@
box-shadow: 1px 0 2px $black;
a:focus { outline: 0 none; }
.in {
overflow-y: visible; // Avoid search result dropdown to be hidden
}
.navbar-brand {
font-weight: bold;
font-size: $font-size-h3;

View file

@ -37,6 +37,11 @@ $mobile-navbar-height: 46px;
padding: 7px 15px;
margin: 0 0 0 -15px;
height: $mobile-navbar-height;
img {
height: 30px;
width: 30px;
}
}
#nav-badges {
@ -87,12 +92,6 @@ $mobile-navbar-height: 46px;
background-color: $red;
}
}
#header-title{
img {
height: 30px;
width: 30px;
}
}
}
#drawer {

View file

@ -9,4 +9,11 @@
.container-fluid
.row
.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"

View file

@ -1,11 +1,3 @@
.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")
%ul.nav.navbar-nav.navbar-right
- 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"