1
0
forked from ScoDoc/ScoDoc

fix bug menu liens + debug fix bug scroll

This commit is contained in:
Iziram 2024-08-14 11:14:14 +02:00
parent 6b8667522b
commit 0eb407f5e3

View File

@ -21,11 +21,6 @@
box-sizing: border-box; box-sizing: border-box;
} }
html{
scroll-behavior: smooth;
overflow: hidden;
}
.no-scroll { .no-scroll {
overflow: hidden !important; overflow: hidden !important;
margin: 0 !important; margin: 0 !important;
@ -441,7 +436,8 @@
{{dropdown(item.title, item.submenu)}} {{dropdown(item.title, item.submenu)}}
{% else %} {% else %}
{% set args = item.args or dict() %} {% set args = item.args or dict() %}
<a href="{{url_for(item.endpoint, scodoc_dept=g.scodoc_dept,**args)}}" {% set url = url_for(item.endpoint, scodoc_dept=g.scodoc_dept,**args) if item.endpoint is defined else item.url %}
<a href="{{url}}"
{{'disabled aria-disabled="true"' if item.enabled is defined and not item.enabled}} {{'disabled aria-disabled="true"' if item.enabled is defined and not item.enabled}}
class="sco-formsemestre-menu-item sco-formsemestre-menu-link" class="sco-formsemestre-menu-item sco-formsemestre-menu-link"
> >