aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-10 08:11:19 +0000
committerMario <mario@mariovavti.com>2021-09-10 10:12:39 +0200
commit1cfe5c3e16f901804a758f7e2a61bec1eac23c2f (patch)
treed066d2d04221fd6d7c5454e4fa49288aaa7bf9c8
parentb95c61d2c21f2c9f64df9fe2d90d8b7612a7735a (diff)
downloadvolse-hubzilla-1cfe5c3e16f901804a758f7e2a61bec1eac23c2f.tar.gz
volse-hubzilla-1cfe5c3e16f901804a758f7e2a61bec1eac23c2f.tar.bz2
volse-hubzilla-1cfe5c3e16f901804a758f7e2a61bec1eac23c2f.zip
fix spacing issue for collapsed pinned apps with an image
(cherry picked from commit e2d0269b5c9f1f1b865e1c0473a6bc0a0a0a1740)
-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>