From 349687ac0937f095c29cb945ea2cfa583101032b Mon Sep 17 00:00:00 2001
From: Michael Weimann <mail@michael-weimann.eu>
Date: Mon, 14 Jan 2019 00:48:09 +0100
Subject: [PATCH] Fix click app names

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
---
 core/css/header.scss           | 5 +++--
 core/templates/layout.user.php | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/core/css/header.scss b/core/css/header.scss
index 020154ebb0f..dd6596ac14f 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -482,7 +482,7 @@ nav[role='navigation'] {
 		a.active {
 			opacity: 1;
 		}
-	
+
 		&:hover a + span,
 		a:focus + span,
 		&:hover span,
@@ -504,7 +504,7 @@ nav[role='navigation'] {
 			width: 20px;
 			height: 20px;
 		}
-	
+
 		/* App title */
 		span {
 			opacity: 0;
@@ -516,6 +516,7 @@ nav[role='navigation'] {
 			overflow: hidden;
 			text-overflow: ellipsis;
 			transition: all var(--animation-quick) ease;
+			pointer-events: none;
 		}
 
 		/* Set up transitions for showing app titles on hover */
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 6f0344aa600..dfa96c5d1c8 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -59,10 +59,10 @@
 									</svg>
 								<div class="icon-loading-small-dark"
 									 style="display:none;"></div>
+								<span>
+									<?php p($entry['name']); ?>
+								</span>
 							</a>
-							<span>
-								<?php p($entry['name']); ?>
-							</span>
 						</li>
 					<?php endforeach; ?>
 					<li id="more-apps" class="menutoggle"
-- 
GitLab