From 2a8306e50ea9d00ec8e3cab99eb1bd3ca3f64bb7 Mon Sep 17 00:00:00 2001 From: beckerfy <fynn.becker@hs-hannover.de> Date: Wed, 6 Mar 2019 15:00:49 +0100 Subject: [PATCH] Fix session timer icon spacing --- hshassets/templates/hshassets/includes/session_timer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hshassets/templates/hshassets/includes/session_timer.html b/hshassets/templates/hshassets/includes/session_timer.html index 0878acbf..aa99b983 100644 --- a/hshassets/templates/hshassets/includes/session_timer.html +++ b/hshassets/templates/hshassets/includes/session_timer.html @@ -34,16 +34,16 @@ Also make sure to include the corresponding javascript in your "base.html": <div class="container"> {% block session-nav-left %}{% endblock session-nav-left %} <div class="navbar-item has-text-grey"> - {% trans "Your session will automatically expire in:" %} + <span>{% trans "Your session will automatically expire in:" %}</span> <span class="icon is-small has-text-left has-text-right"><i class="fa fa-clock-o"></i></span> <span id="session_timer" data-initial-seconds-left="{{ initial_seconds_left|unlocalize }}">00:00</span> </div> <a href="{% url "flush-session" %}" class="navbar-item"> <span class="icon is-small has-text-right"><i class="fa {% if end_session_icon %}{{ end_session_icon }}{% else %}fa-sign-out{% endif %}"></i></span> {% if end_session_text %} - {{ end_session_text }} + <span>{{ end_session_text }}</span> {% else %} - {% trans "End session" %} + <span>{% trans "End session" %}</span> {% endif %} </a> {% block session-nav-right %}{% endblock session-nav-right %} -- GitLab