Skip to content
Snippets Groups Projects
Unverified Commit 7077eb34 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #365 from osunyorg/toc-fix-zindex

Correction du z-index de la table des matières
parents 6f6be8ca 8308b4e3
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,3 @@ $project-infos-color-accent: $color-accent !default
// Program
$program-essential-font-size: $meta-size !default
$program-essential-font-size-desktop: $meta-size-desktop !default
$program-zindex-toc: $zindex-toc !default
......@@ -25,7 +25,8 @@ $zindex-nav-accessibility: 1010 !default
$zindex-stretched-link: 2 !default
$zindex-header: 52 !default
$zindex-body-overlay: 51 !default
$zindex-toc: 60 !default
$zindex-toc-offcanvas: 60 !default
$zindex-toc: 50 !default
$zindex-toc-cta: 49 !default
$zindex-modal: 72 !default
$zindex-aside: 48 !default
......
......@@ -6,7 +6,7 @@
right: 0
bottom: 0
margin-top: 0
z-index: $zindex-toc
z-index: $zindex-toc-offcanvas
width: calc(#{columns(4)} + var(--grid-gutter) * 2)
transform: translateX(100%)
transition: var(--toc-transition-duration) transform ease-in-out
......@@ -131,6 +131,7 @@
height: 100%
position: absolute
width: columns(4)
z-index: $zindex-toc
.toc-content
overflow-y: auto
max-height: calc(100vh - var(--header-height))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment