From 73ead793895319c34f295300997939ea61572bca Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Fri, 15 Dec 2017 19:15:49 -0700 Subject: [PATCH] NodeBB/NodeBB#6178 --- less/header.less | 2 +- templates/header.tpl | 4 ++-- templates/partials/menu.tpl | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/less/header.less b/less/header.less index cfada5a..d825d6c 100644 --- a/less/header.less +++ b/less/header.less @@ -295,7 +295,7 @@ } } -.unread-count:after { +.unread-count[data-content]:not([data-content=""]):not([data-content="0"]):after { content: attr(data-content); position: absolute; left: 23px; diff --git a/templates/header.tpl b/templates/header.tpl index 6ff4cfd..cb98832 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -51,7 +51,7 @@