aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-05 14:55:46 -0800
committerzotlabs <mike@macgirvin.com>2017-02-05 14:55:46 -0800
commit201a6b8742313d2b58f9668922f18b9ef38cf424 (patch)
tree44aac35fde8f1547da1d5cf517c8431ef36bd1c3 /view
parente2ee4ae0244ff1698b28f89b05ea9b0ce65273aa (diff)
downloadvolse-hubzilla-201a6b8742313d2b58f9668922f18b9ef38cf424.tar.gz
volse-hubzilla-201a6b8742313d2b58f9668922f18b9ef38cf424.tar.bz2
volse-hubzilla-201a6b8742313d2b58f9668922f18b9ef38cf424.zip
nav_login element width was page dependent. Put this in theme css
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css5
-rw-r--r--view/tpl/nav_login.tpl30
2 files changed, 16 insertions, 19 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index b398738e0..f5da8a222 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2106,10 +2106,7 @@ dl.bb-dl > dd > li {
text-align: center;
}
-#nav-login {
-}
-
-.rmagic-button {
+#login-main, .rmagic-button {
max-width: 400px;
margin-top: 20px;
margin-left: auto;
diff --git a/view/tpl/nav_login.tpl b/view/tpl/nav_login.tpl
index 0605ce44f..5ad5a4990 100644
--- a/view/tpl/nav_login.tpl
+++ b/view/tpl/nav_login.tpl
@@ -1,15 +1,15 @@
- {{if $nav.login && !$userinfo}}
- <div id="nav-login" class="modal" role="dialog">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header"><h3>{{$nav.loginmenu.1.1}}</h3></div>
- <div class="modal-body">
- <div class="form-group">
- {{$nav.login}}
- {{$nav.remote_login}}
- </div>
- </div>
- </div>
- </div>
- </div>
- {{/if}}
+{{if $nav.login && !$userinfo}}
+<div id="nav-login" class="modal" role="dialog">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header"><h3>{{$nav.loginmenu.1.1}}</h3></div>
+ <div class="modal-body">
+ <div class="form-group">
+ {{$nav.login}}
+ {{$nav.remote_login}}
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+{{/if}}