From be6285acf65a766e708da9e3d0e2326bfe4e3347 Mon Sep 17 00:00:00 2001
From: Vincent Petry <vincent@nextcloud.com>
Date: Fri, 22 Jul 2022 17:49:55 +0200
Subject: Fix sharing panel lighthouse warnings

Replaced h5 with span and adjusted selectors.
Fixed ul/li hierarchy of some elements.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
---
 apps/files_sharing/src/components/SharingEntrySimple.vue | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'apps/files_sharing/src/components/SharingEntrySimple.vue')

diff --git a/apps/files_sharing/src/components/SharingEntrySimple.vue b/apps/files_sharing/src/components/SharingEntrySimple.vue
index 8627c87f97a..70b55cbdce1 100644
--- a/apps/files_sharing/src/components/SharingEntrySimple.vue
+++ b/apps/files_sharing/src/components/SharingEntrySimple.vue
@@ -24,7 +24,7 @@
 	<li class="sharing-entry">
 		<slot name="avatar" />
 		<div v-tooltip="tooltip" class="sharing-entry__desc">
-			<h5>{{ title }}</h5>
+			<span class="sharing-entry__title">{{ title }}</span>
 			<p v-if="subtitle">
 				{{ subtitle }}
 			</p>
@@ -99,16 +99,16 @@ export default {
 		position: relative;
 		flex: 1 1;
 		min-width: 0;
-		h5 {
-			white-space: nowrap;
-			text-overflow: ellipsis;
-			overflow: hidden;
-			max-width: inherit;
-		}
 		p {
 			color: var(--color-text-maxcontrast);
 		}
 	}
+	&__title {
+		white-space: nowrap;
+		text-overflow: ellipsis;
+		overflow: hidden;
+		max-width: inherit;
+	}
 	&__actions {
 		margin-left: auto !important;
 	}
-- 
cgit v1.2.3

