aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-10 08:11:19 +0000
committerMario <mario@mariovavti.com>2021-09-10 08:11:19 +0000
commite2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740 (patch)
treea7af29ce9539e7201ca78ea7548ed6b4b470850a /view
parent7b0f8f289637d06f610230a0fbe7cfe51cd53d6c (diff)
downloadvolse-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')
-rw-r--r--view/tpl/app_nav_pinned.tpl10
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>