fix(TOC): scrollbar bug when keepStatic is true (#382)

This commit is contained in:
Dillon
2020-05-24 16:20:48 +08:00
committed by GitHub
parent 94b8e6bf69
commit 0c1f7d0ef8
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@
display: block;
position: absolute;
width: $MAX_LENGTH;
max-width: 0;
padding: 0 .8rem;
border-left: 4px solid $global-border-color;
@include overflow-wrap(break-word);