aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-07 10:58:15 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-07 10:58:15 +0100
commit1bb6dfc9a03550063d5b25fd804e586d45eb61fa (patch)
tree6585a22bff56eb467140108be583fe1ffd40341f
parent549866c0900c1ff550e001323c59a74352920770 (diff)
downloadvolse-hubzilla-1bb6dfc9a03550063d5b25fd804e586d45eb61fa.tar.gz
volse-hubzilla-1bb6dfc9a03550063d5b25fd804e586d45eb61fa.tar.bz2
volse-hubzilla-1bb6dfc9a03550063d5b25fd804e586d45eb61fa.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 9f9ece7c3..fd155c71a 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>