Truncate breadcrumb title

This commit is contained in:
Oliver Davies 2018-01-03 02:33:26 +00:00
parent 55c4f39dfa
commit 46fa167bbe
3 changed files with 7 additions and 7 deletions

View file

@ -12,8 +12,8 @@
<a class="inline py-2" href="{{ site.url }}/blog">Blog</a>
{% include "svg/chevron-right" with { class: 'text-grey-light mx-1', style: "height: 20px" } %}
</li>
<li class="list-reset flex">
<span class="inline py-2">{{ page.title }}</span>
<li class="list-reset flex truncate">
<span class="inline py-2 truncate">{{ page.title }}</span>
</li>
</ul>
</div>

View file

@ -12,8 +12,8 @@
<a class="inline py-2" href="{{ site.url }}/talks">Talks</a>
{% include "svg/chevron-right" with { class: 'text-grey-light mx-1', style: "height: 20px" } %}
</li>
<li class="list-reset flex">
<span class="inline py-2">{{ page.title }}</span>
<li class="list-reset flex truncate">
<span class="inline py-2 truncate">{{ page.title }}</span>
</li>
</ul>
</div>

View file

@ -23,8 +23,8 @@ talks:
<a class="inline py-2" href="{{ site.url }}/talks">Talks</a>
{% include "svg/chevron-right" with { class: 'text-grey-light mx-1', style: "height: 20px" } %}
</li>
<li class="list-reset flex">
<span class="inline py-2">Archive</span>
<li class="list-reset flex truncate">
<span class="inline py-2 truncate">Archive</span>
</li>
</ul>
</div>
@ -37,4 +37,4 @@ talks:
{% include "talks-table" with { talks: getPastTalks(data.talks, site.events) } %}
<p>Upcoming talks can be found on the <a href="{{ site.url }}/talks">talks page</a>.</p>
{% endblock %}
{% endblock %}