Fix navigation

This commit is contained in:
Thomas 2019-08-25 09:22:44 +02:00
parent d38326ca25
commit b516af0999
2 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,11 @@ html, body {
#wrap { #wrap {
min-height: 100%; min-height: 100%;
} }
.scrollable-menu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}
#main_contain { #main_contain {
overflow:auto; overflow:auto;
padding-bottom:150px; padding-bottom:150px;

View file

@ -36,7 +36,7 @@
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
{{ getLanguage(app.request.locale) }} {{ getLanguage(app.request.locale) }}
</a> </a>
<div class="dropdown-menu"> <div class="dropdown-menu scrollable-menu">
{% set route = app.request.attributes.get('_route') %} {% set route = app.request.attributes.get('_route') %}
{% if route == "app_fediplan_about" %} {% if route == "app_fediplan_about" %}
{% set route = "about" %} {% set route = "about" %}