MDL-56588 theme_boost: Nice wrapping text in flat nav

When section titles were too long they did not wrap nicely.
This commit is contained in:
Damyon Wiese 2016-10-27 11:59:58 +08:00 committed by Dan Poltawski
parent c40a53775f
commit de1af8a6ed

View File

@ -10,9 +10,16 @@
{{#action}}
<a class="list-group-item list-group-item-action {{#isactive}}font-weight-bold{{/isactive}}" href="{{{action}}}"><span class="m-l-{{get_indent}}">
{{#is_section}}
{{#pix}}i/folder{{/pix}}
<div class="media">
<span class="media-left">
{{#pix}}i/folder{{/pix}}
</span>
<span class="media-body">{{text}}</span>
</div>
{{/is_section}}
{{^is_section}}
{{text}}
{{/is_section}}
{{text}}
</span></a>
{{/action}}
{{^action}}