Added md-ellipsis span to toc-item.html

This commit is contained in:
Alexander Voss 2023-11-17 09:26:04 +00:00 committed by GitHub
parent fc07e0a557
commit 8fb97e7132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,9 @@
-#}
<li class="md-nav__item">
<a href="{{ toc_item.url }}" class="md-nav__link">
{{ toc_item.title }}
<span class="md-ellipsis">
{{ toc_item.title }}
</span>
</a>
{% if toc_item.children %}
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">

View File

@ -23,7 +23,9 @@
<!-- Table of contents item -->
<li class="md-nav__item">
<a href="{{ toc_item.url }}" class="md-nav__link">
{{ toc_item.title }}
<span class="md-ellipsis">
{{ toc_item.title }}
</span>
</a>
<!-- Table of contents list -->