diff --git a/_sass/_nested-nav.scss b/_sass/_nested-nav.scss index 792d0e98f8..c6de88b547 100644 --- a/_sass/_nested-nav.scss +++ b/_sass/_nested-nav.scss @@ -69,6 +69,13 @@ } } + &:last-child { + > ul { + right: .5em; + left: auto; + } + } + &:hover { > ul { display: block; diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index da875f8833..c385ad5ecf 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -266,7 +266,8 @@ img { position: fixed; bottom: 30px; right: 16px; - z-index: 1; + z-index: 999; + svg { transform: rotate(-90deg); } @@ -495,6 +496,10 @@ p.label { // Adds TOC to right hand side in xl layout .main-content-wrap { width: 100%; + + @include mq(xl) { + width: calc(100% - #{$toc-width}); + } } .toc-wrap {