From 7cc987ece2dca08dccfce5ebecb5f1d6847c8481 Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Fri, 17 Nov 2017 21:21:52 -0700
Subject: [PATCH] Show setting in column, fix button width sizes
---
less/header.less | 2 ++
lib/persona.js | 9 ++-------
templates/partials/menu.tpl | 2 +-
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/less/header.less b/less/header.less
index cfada5a..17b4cfc 100644
--- a/less/header.less
+++ b/less/header.less
@@ -108,6 +108,8 @@
}
.navbar-toggle {
+ width: 44px;
+
.notification-icon {
position: absolute;
left: -13px;
diff --git a/lib/persona.js b/lib/persona.js
index ac22536..6f8ca98 100644
--- a/lib/persona.js
+++ b/lib/persona.js
@@ -249,18 +249,13 @@ $(document).ready(function() {
});
}
- // for debugging
- // window.navSlideout = navSlideout;
- // window.chatsSlideout = chatsSlideout;
-
-
// add a checkbox in the user settings page
// so users can swap the sides the menus appear on
function setupSetting() {
if (ajaxify.data.template['account/settings'] && !document.getElementById('persona:menus:legacy-layout')) {
- $(' ')
- .appendTo('#content .account > .row')
+ $('')
+ .appendTo('#content .account > .row > div:first-child')
.find('input')
.prop('checked', Storage.getItem('persona:menus:legacy-layout', 'true'))
.change(function (e) {
diff --git a/templates/partials/menu.tpl b/templates/partials/menu.tpl
index c1f887d..790b3b1 100644
--- a/templates/partials/menu.tpl
+++ b/templates/partials/menu.tpl
@@ -7,7 +7,7 @@