diff options
Diffstat (limited to 'assets/css/components/_toc.scss')
| -rw-r--r-- | assets/css/components/_toc.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/css/components/_toc.scss b/assets/css/components/_toc.scss index 0fcd9188..e8486557 100644 --- a/assets/css/components/_toc.scss +++ b/assets/css/components/_toc.scss @@ -16,6 +16,8 @@ display: inline-flex; align-items: center; gap: .5rem; + text-overflow: ellipsis; + white-space: nowrap; &::before { content: ''; display: inline-block; @@ -24,6 +26,7 @@ background-color: var(--block-background-color); border-radius: .2rem; transition: background .3s; + flex-shrink: 0; } } |
