mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added md-ellipsis span to toc-item.html
This commit is contained in:
parent
fc07e0a557
commit
8fb97e7132
@ -3,7 +3,9 @@
|
|||||||
-#}
|
-#}
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="{{ toc_item.url }}" class="md-nav__link">
|
<a href="{{ toc_item.url }}" class="md-nav__link">
|
||||||
{{ toc_item.title }}
|
<span class="md-ellipsis">
|
||||||
|
{{ toc_item.title }}
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% if toc_item.children %}
|
{% if toc_item.children %}
|
||||||
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
|
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
|
||||||
|
@ -23,7 +23,9 @@
|
|||||||
<!-- Table of contents item -->
|
<!-- Table of contents item -->
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="{{ toc_item.url }}" class="md-nav__link">
|
<a href="{{ toc_item.url }}" class="md-nav__link">
|
||||||
{{ toc_item.title }}
|
<span class="md-ellipsis">
|
||||||
|
{{ toc_item.title }}
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Table of contents list -->
|
<!-- Table of contents list -->
|
||||||
|
Loading…
Reference in New Issue
Block a user