diff options
author | Mario <mario@mariovavti.com> | 2021-09-10 08:11:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-10 08:11:19 +0000 |
commit | e2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740 (patch) | |
tree | a7af29ce9539e7201ca78ea7548ed6b4b470850a /view/tpl/app_nav_pinned.tpl | |
parent | 7b0f8f289637d06f610230a0fbe7cfe51cd53d6c (diff) | |
download | volse-hubzilla-e2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740.tar.gz volse-hubzilla-e2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740.tar.bz2 volse-hubzilla-e2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740.zip |
fix spacing issue for collapsed pinned apps with an image
Diffstat (limited to 'view/tpl/app_nav_pinned.tpl')
-rw-r--r-- | view/tpl/app_nav_pinned.tpl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/view/tpl/app_nav_pinned.tpl b/view/tpl/app_nav_pinned.tpl index 817c74763..b114ed19e 100644 --- a/view/tpl/app_nav_pinned.tpl +++ b/view/tpl/app_nav_pinned.tpl @@ -1 +1,9 @@ -<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" >{{if $icon}}<i class="fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}<span class="d-lg-none">{{$app.name}}</span></a> +<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" > + {{if $icon}} + <i class="fa fa-fw fa-{{$icon}}"></i> + <span class="d-lg-none">{{$app.name}}</span> + {{else}} + <img src="{{$app.photo}}" width="16" height="16" /> + <div class="d-lg-none d-inline-block" style="margin-left: 9px">{{$app.name}}</div> + {{/if}} +</a> |