forked from ScoDoc/ScoDoc
fix bug menu liens + debug fix bug scroll
This commit is contained in:
parent
6b8667522b
commit
0eb407f5e3
@ -21,11 +21,6 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html{
|
||||
scroll-behavior: smooth;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.no-scroll {
|
||||
overflow: hidden !important;
|
||||
margin: 0 !important;
|
||||
@ -441,7 +436,8 @@
|
||||
{{dropdown(item.title, item.submenu)}}
|
||||
{% else %}
|
||||
{% 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}}
|
||||
class="sco-formsemestre-menu-item sco-formsemestre-menu-link"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user