Skip to content
Snippets Groups Projects
Commit 2e2f3270 authored by alexisben's avatar alexisben
Browse files

section : program toc

parent ca0bfb59
No related branches found
No related tags found
No related merge requests found
......@@ -105,16 +105,10 @@
@include offcanvas-toc
@include media-breakpoint-down(md)
@include offcanvas-toc
// Program tweak : use offcanvas
body.offcanvas-toc &
@include offcanvas-toc
// Only desktop and in page with sidebar
@include media-breakpoint-up(md)
@include in-page-with-sidebar
// Program tweak : use offcanvas
body:not(.offcanvas-toc) &
@include container-margin-left
pointer-events: none
top: 0
......@@ -134,6 +128,22 @@
button
display: none
// Program tweak : use offcanvas
// TODO : find a better way to cancel sidebar props
body.offcanvas-toc &
@include offcanvas-toc
margin-left: 0
pointer-events: inherit
left: auto
.toc-content
position: relative
top: 0
max-height: none
padding-bottom: 0
margin-top: 0
margin-bottom: 0
.toc-title, .toc-cta, .toc-container button
font-family: $toc-font-family
font-size: $toc-title-font-size
......
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