diff --git a/less/categories.less b/less/categories.less
index 83a7784..40d9685 100644
--- a/less/categories.less
+++ b/less/categories.less
@@ -109,8 +109,16 @@
}
.category-children {
- .fa-stack {
- font-size: 65%;
+ .category-children-item {
+ margin-right: 10px;
+ }
+ .icon {
+ min-width: 23px;
+ min-height: 23px;
+ font-size: 10px;
+ line-height: 12px;
+ padding: 5px;
+ margin-right: 5px;
}
}
}
diff --git a/less/header.less b/less/header.less
index cfada5a..48b431f 100644
--- a/less/header.less
+++ b/less/header.less
@@ -242,6 +242,10 @@
margin-left: -30px;
}
}
+
+ @media (min-width: @screen-md-min) {
+ top: 0px !important;
+ }
}
.breadcrumb {
@@ -296,7 +300,6 @@
}
.unread-count:after {
- content: attr(data-content);
position: absolute;
left: 23px;
top: 10px;
@@ -314,6 +317,10 @@
font-family: @font-family-sans-serif;
}
+.unread-count[data-content]:not([data-content=""]):not([data-content="0"]):after {
+ content: attr(data-content);
+}
+
.slideout-menu .unread-count:after {
position: relative;
left: -6px;
diff --git a/less/modules/taskbar.less b/less/modules/taskbar.less
index ad73c0e..c1249af 100644
--- a/less/modules/taskbar.less
+++ b/less/modules/taskbar.less
@@ -138,8 +138,9 @@
}
@media (max-width: @screen-sm) {
- .nav.navbar-nav {
- margin: 0;
- }
+ /*
+ Gets in the way of entering text when writing posts
+ */
+ display: none !important;
}
}
\ No newline at end of file
diff --git a/lib/persona.js b/lib/persona.js
index 1f3ff90..d499883 100644
--- a/lib/persona.js
+++ b/lib/persona.js
@@ -3,19 +3,15 @@
/*globals ajaxify, config, utils, app, socket, NProgress*/
$(document).ready(function() {
- var env = utils.findBootstrapEnvironment();
-
setupNProgress();
setupTaskbar();
setupEditedByIcon();
setupMobileMenu();
setupQuickReply();
- if (env === 'xs' || env ==='sm') {
- $(".navbar-fixed-top").autoHidingNavbar({
- showOnBottom: false
- });
- }
+ $(".navbar-fixed-top").autoHidingNavbar({
+ showOnBottom: false
+ });
function setupNProgress() {
$(window).on('action:ajaxify.start', function() {
diff --git a/package.json b/package.json
index 7766f9a..c0cea29 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nodebb-theme-persona",
- "version": "7.2.7",
+ "version": "7.2.10",
"nbbpm": {
"compatibility": "^1.7.0"
},
@@ -39,7 +39,7 @@
"url": "https://github.com/psychobunny/nodebb-theme-persona/issues"
},
"dependencies": {
- "striptags": "^3.1.0",
- "pulling": "^1.1.0"
+ "striptags": "^3.1.1",
+ "pulling": "^1.1.1"
}
}
diff --git a/templates/header.tpl b/templates/header.tpl
index 6ff4cfd..df5f18b 100644
--- a/templates/header.tpl
+++ b/templates/header.tpl
@@ -20,7 +20,7 @@
{{customHTML}}
-
+
@@ -51,7 +51,7 @@