aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-07 10:58:15 +0100
committerMario <mario@mariovavti.com>2017-11-11 20:25:21 +0100
commit47d15f3bf4ce105c00bd77a0c86db9bf6350560a (patch)
tree0d604a202b94101f3ef7d60f5e3d346c7bdddefe
parent96d439bcee2990400f39c7cc0e5bd1596ae1d221 (diff)
downloadvolse-hubzilla-47d15f3bf4ce105c00bd77a0c86db9bf6350560a.tar.gz
volse-hubzilla-47d15f3bf4ce105c00bd77a0c86db9bf6350560a.tar.bz2
volse-hubzilla-47d15f3bf4ce105c00bd77a0c86db9bf6350560a.zip
move style out of template
-rw-r--r--view/theme/redbasic/css/style.css5
-rwxr-xr-xview/tpl/navbar_default.tpl5
2 files changed, 7 insertions, 3 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index aea75df65..15bc3c219 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1255,6 +1255,11 @@ img.mail-conv-sender-photo {
border-radius: $radius;
}
+#nav-app-link {
+ padding: 0 !important;
+ line-height: 1.175;
+}
+
.page-title {
margin: 7px 0px;
}
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index 4f0b9a110..d02ad2e97 100755
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -60,11 +60,10 @@
{{/if}}
</div>
<div class="navbar-nav mr-auto">
- <a id="nav-app-link" href="{{$url}}" class="nav-link" style="padding: .175rem;{{if $sitelocation}} line-height: 1; height:2.35rem;{{/if}}">
+ <a id="nav-app-link" href="{{$url}}" class="nav-link">
{{$sel.name}}
{{if $sitelocation}}
- <br>
- <small class="text-muted">{{$sitelocation}}</small>
+ <br><small>{{$sitelocation}}</small>
{{/if}}
</a>
</div>