From 105cb88a076b2badd2f1154dd7df72aa3ff5d225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr> Date: Wed, 13 May 2020 16:07:56 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9liore=20l'affichage=20du=20plan=20losqu?= =?UTF-8?q?'il=20est=20long.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/theme/source/inrae.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/css/theme/source/inrae.scss b/src/css/theme/source/inrae.scss index acc5b50..e09ab11 100644 --- a/src/css/theme/source/inrae.scss +++ b/src/css/theme/source/inrae.scss @@ -46,6 +46,22 @@ $heading4Size: 1em; background: white; } + #TOC { + width: 100%; + height: 100%; + + & > ul { + display: flex; + flex-flow: column wrap; + width: 100%; + max-height: 80%; + + li { + width: auto; + } + } + } + * > h1.title, section.slide h1:first-child, section.slide h2:first-child { -- GitLab