fix line width - i hate vscode
This commit is contained in:
parent
e09bc681ff
commit
e06e72f26b
1 changed files with 17 additions and 10 deletions
|
@ -5,9 +5,12 @@
|
|||
<li>
|
||||
<ul class="tabs flex-nav" role="menu">
|
||||
{{foreach $tabs as $tab}}
|
||||
<li id="{{$tab.id}}" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem"
|
||||
href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}" {{/if}}
|
||||
{{if $tab.title}} title="{{$tab.title}}" {{/if}}>{{$tab.label}}</a></li>
|
||||
<li id="{{$tab.id}}" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
|
||||
<a role="menuitem" href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}" {{/if}}
|
||||
{{if $tab.title}} title="{{$tab.title}}" {{/if}}>
|
||||
{{$tab.label}}
|
||||
</a>
|
||||
</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -33,9 +36,11 @@
|
|||
<ul class="tabs" role="menu">
|
||||
{{foreach $tabs as $tab}}
|
||||
{{if $tab.sel}}
|
||||
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a
|
||||
role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"
|
||||
{{/if}}>{{$tab.label}}</a></li>
|
||||
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
|
||||
<a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}" {{/if}}>
|
||||
{{$tab.label}}
|
||||
</a>
|
||||
</li>
|
||||
{{else}}
|
||||
{{$exttabs[]=$tab}}
|
||||
{{/if}}
|
||||
|
@ -53,13 +58,15 @@
|
|||
</button>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuTools">
|
||||
{{foreach $exttabs as $tab}}
|
||||
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a
|
||||
role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"
|
||||
{{/if}}>{{$tab.label}}</a></li>
|
||||
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
|
||||
<a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}" {{/if}}>
|
||||
{{$tab.label}}
|
||||
</a>
|
||||
</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue