mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-31 14:24:16 +02:00
Added horizontal scrolling
This commit is contained in:
parent
8055c7b994
commit
f21120e9f7
@ -1,5 +1,5 @@
|
|||||||
{% macro render_headings(headings, level=1) %}
|
{% 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 %}
|
{% for item in headings %}
|
||||||
<li class="toctree-l{{ level }}{% if item.current %} current{% endif %}"
|
<li class="toctree-l{{ level }}{% if item.current %} current{% endif %}"
|
||||||
{% if item.children %}
|
{% if item.children %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user