Added horizontal scrolling

This commit is contained in:
Kevin Veen-Birkenbach 2025-03-17 13:53:42 +01:00
parent 8055c7b994
commit f21120e9f7
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -1,5 +1,5 @@
{% macro render_headings(headings, level=1) %}
<ul class="toctree-l{{ level }}" style="list-style: none; padding-left: 0;">
<ul class="toctree-l{{ level }}" style="list-style: none; padding-left: 0; overflow-x: auto; white-space: nowrap;">
{% for item in headings %}
<li class="toctree-l{{ level }}{% if item.current %} current{% endif %}"
{% if item.children %}