mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix : toc link overflow (#15276)
* fix : toc link overflow * Update docs/.vitepress/vitepress/styles/content/table-of-content.scss Co-authored-by: btea <2356281422@qq.com> --------- Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
@@ -44,12 +44,11 @@
|
||||
margin-top: 10px;
|
||||
font-size: 11px;
|
||||
color: var(--text-color-lighter);
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
color: inherit;
|
||||
list-style: none;
|
||||
|
||||
.toc-link {
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
color: var(--text-color-lighter);
|
||||
@@ -57,6 +56,11 @@
|
||||
&.active {
|
||||
color: var(--brand-color);
|
||||
}
|
||||
p{
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
&.subitem {
|
||||
|
||||
Reference in New Issue
Block a user