diff --git a/src/components/sidebarTableOfContents/style.module.scss b/src/components/sidebarTableOfContents/style.module.scss index e50a40cd94cd1..c8e9edaeb9c1a 100644 --- a/src/components/sidebarTableOfContents/style.module.scss +++ b/src/components/sidebarTableOfContents/style.module.scss @@ -18,6 +18,10 @@ position: relative; line-height: 1.5; display: block; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + color: var(--link-color); padding: 0.25em 0; opacity: 0.8;