mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +02:00
Fix navigation
This commit is contained in:
parent
d38326ca25
commit
b516af0999
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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" %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue