diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
commit | 937245b202c200e1405209c59893d459b2194d2f (patch) | |
tree | 38dc667fb81be27b3b21e5cfccbf36d5fbc8fefd /templates/partials/doc/page_toc.html | |
parent | 4dde9b0855ad8edf5eef72036ee788aeeb5cd775 (diff) | |
parent | e5beba07d6b9e102cc28c7474b9db0ae11ec3c79 (diff) | |
download | garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.tar.gz garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.zip |
Merge branch 'master' of git.deuxfleurs.fr:sptl/garage_website
Diffstat (limited to 'templates/partials/doc/page_toc.html')
-rw-r--r-- | templates/partials/doc/page_toc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/partials/doc/page_toc.html b/templates/partials/doc/page_toc.html index 172e0ce..238d8c3 100644 --- a/templates/partials/doc/page_toc.html +++ b/templates/partials/doc/page_toc.html @@ -1,12 +1,12 @@ -<aside class="hidden 2xl:block fixed right-0 bottom-1/2 transform translate-y-1/2 col-span-1 h-auto bg-gray-100 rounded-l-lg shadow-inner"> +<aside class="hidden 2xl:block fixed right-0 bottom-1/2 transform translate-y-1/2 w-80 col-span-1 h-auto bg-gray-100 rounded-l-lg shadow-inner"> {% if page.toc %} <div class="w-full flex items-center justify-center py-1.5 bg-gray-200 rounded-tl-lg"> <span class="uppercase tracking-wide text-xs text-garage-gray">Page content</span> </div> - <ol class="text-sm space-y-0.5 py-0.5 px-8 py-3 list-decimal"> + <ol class="text-sm space-y-0.5 px-8 py-3 list-decimal"> {% for h1 in page.toc %} <li> - <a href="{{ h1.permalink | safe }}" class="font-semibold bg-gradient-to-r from-garage-gray to-garage-orange text-transparent bg-clip-text transition-all hover:text-garage-orange">{{ h1.title }}</a> + <a href="{{ h1.permalink | safe }}" class="font-semibold text-gray-800 transition-all hover:text-garage-orange">{{ h1.title }}</a> {% if h1.children %} <ul class="space-y-0.5 py-0.5"> {% for h2 in h1.children %} |