Skip to content

Commit

Permalink
Truncate nav names to avoid bad overflow
Browse files Browse the repository at this point in the history
- Fixes #1848
  • Loading branch information
tristen committed Dec 18, 2015
1 parent 8cb84dd commit 18e5688
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/_layouts/pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
</div>
</div>
<div class='col9 dark tabs mobile-cols pad1'><!--
--><a href='{{site.baseurl}}/api' class='col3 {% if page.category == "api" %}active{% endif %}'>API</a><!--
--><a href='{{site.url}}/mapbox-gl-style-spec' class='col3'>Style Reference</a><!--
--><a href='{{site.baseurl}}/examples' class='col3 {% if page.category == "example" %}active{% endif %}'>Examples</a><!--
--><a href='{{site.baseurl}}/plugins' class='col3 {% if page.url contains "plugins" %}active{% endif %}'>Plugins</a>
--><a href='{{site.baseurl}}/api' class='col3 truncate{% if page.category == "api" %} active{% endif %}'>API</a><!--
--><a href='{{site.url}}/mapbox-gl-style-spec' class='col3 truncate'>Style Reference</a><!--
--><a href='{{site.baseurl}}/examples' class='col3 truncate{% if page.category == "example" %} active{% endif %}'>Examples</a><!--
--><a href='{{site.baseurl}}/plugins' class='col3 truncate{% if page.url contains "plugins" %} active{% endif %}'>Plugins</a>
</div>
</nav>
</div>
Expand Down

0 comments on commit 18e5688

Please sign in to comment.