diff --git a/assets/scss/03-organisms/_sticky-toc.scss b/assets/scss/03-organisms/_sticky-toc.scss index 9527e7ee31..0d15aa2c0a 100644 --- a/assets/scss/03-organisms/_sticky-toc.scss +++ b/assets/scss/03-organisms/_sticky-toc.scss @@ -306,7 +306,7 @@ height: 0; overflow: hidden; position: fixed; - top: 40px; + top: 0; left: 0; transition: height 0.1s ease-out; width: 100%; @@ -457,7 +457,7 @@ width: 100%; height: 100%; max-width: 550px; - top: 40px; + top: 0; z-index: 99; background-color: $c-white; transition: right 0.3s ease-out; diff --git a/changelogs/DP-20085.yml b/changelogs/DP-20085.yml new file mode 100644 index 0000000000..c9488f5d29 --- /dev/null +++ b/changelogs/DP-20085.yml @@ -0,0 +1,6 @@ +Fixed: + - project: Patternlab + component: Header + description: Fixed sticky TOC on the newer global nav. (#1194) + issue: DP-20085 + impact: Patch