aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 22:15:51 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 22:15:51 +0100
commit66a0b4790e97252a93b14c555c5c7fdb6eae5b47 (patch)
treec35fb448532bfbf6660dca1dfee7f50f6afba001
parent46ab7ca78650441165017fc0c772506e200820e3 (diff)
downloadvolse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.tar.gz
volse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.tar.bz2
volse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.zip
fix pinned apps not available in mobile view
-rw-r--r--view/theme/redbasic/css/style.css5
-rw-r--r--view/tpl/app_nav.tpl2
-rwxr-xr-xview/tpl/navbar_default.tpl3
3 files changed, 9 insertions, 1 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 0bdb4bc27..5f31004ff 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1504,6 +1504,11 @@ blockquote {
flex-basis: 25%;
}
+ #navbar-collapse-2 .navbar-app i {
+ font-size: 1rem;
+ margin-right: 0.5rem;
+ }
+
}
.shareable_element_text {
diff --git a/view/tpl/app_nav.tpl b/view/tpl/app_nav.tpl
index 046cd7237..817c74763 100644
--- a/view/tpl/app_nav.tpl
+++ b/view/tpl/app_nav.tpl
@@ -1 +1 @@
-<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}}</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>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}<span class="d-lg-none">{{$app.name}}</span></a>
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index 62524ad5b..c4f5af1dc 100755
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -195,6 +195,9 @@
</div>
<div id="sys-apps-collapsed" style="display:none;">
{{/if}}
+ {{foreach $navbar_apps as $navbar_app}}
+ {{$navbar_app}}
+ {{/foreach}}
{{foreach $nav_apps as $nav_app}}
{{$nav_app|replace:'dropdown-item':'nav-link'}}
{{/foreach}}