#3786 broken category hierarchy + add overflow

This commit is contained in:
Diatrex 2021-04-19 16:22:01 +03:00
parent c941077320
commit 896e48ef5b
2 changed files with 3 additions and 1 deletions

View File

@ -95,6 +95,8 @@ ul {
} }
#categoryList { #categoryList {
max-height: 24rem;
& > li { & > li {
margin-bottom: .4rem; margin-bottom: .4rem;

View File

@ -1,4 +1,4 @@
<ul id="categoryList" class="py-3 px-2"> <ul id="categoryList" class="py-3 px-2 overflow-auto">
{% for maincat in mainCats %} {% for maincat in mainCats %}
{% set parent_category = noCat ? false : true %} {% set parent_category = noCat ? false : true %}