From 9708131712afc31c4183e34cb50538bcdc9a08d5 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 6 Apr 2019 20:06:41 -0400 Subject: [PATCH] Add non breakable space to avoud badge jumping Signed-off-by: Roberto Rosario --- .../navigation/templates/navigation/generic_link_instance.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/navigation/templates/navigation/generic_link_instance.html b/mayan/apps/navigation/templates/navigation/generic_link_instance.html index 9db31c1367..8cf382661e 100644 --- a/mayan/apps/navigation/templates/navigation/generic_link_instance.html +++ b/mayan/apps/navigation/templates/navigation/generic_link_instance.html @@ -17,7 +17,7 @@ {% endif %}{% endif %} {% if link.icon_class and not hide_icon %}{{ link.icon_class.render }}{% endif %} - {{ link.text|default:'' }}{% if link.badge_text %}{{ link.badge_text }}{% endif %}{% if link.error %} - {{ link.error }}{% endif %} + {{ link.text|default:'' }}{% if link.badge_text %} {{ link.badge_text }}{% endif %}{% if link.error %} - {{ link.error }}{% endif %} {% if horizontal %}{% if not forloop.last %} {% endif %}{% endif %} {% endif %} {% endif %}