aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryInternal.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-22 17:49:55 +0200
committerVincent Petry <vincent@nextcloud.com>2022-07-22 17:49:55 +0200
commitbe6285acf65a766e708da9e3d0e2326bfe4e3347 (patch)
treeabe0dea7fc08e10a9fbb924c4b389b841319737b /apps/files_sharing/src/components/SharingEntryInternal.vue
parent6c42874f04477a9741089bd4763ad47ad4130b2f (diff)
downloadnextcloud-server-be6285acf65a766e708da9e3d0e2326bfe4e3347.tar.gz
nextcloud-server-be6285acf65a766e708da9e3d0e2326bfe4e3347.zip
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>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryInternal.vue')
-rw-r--r--apps/files_sharing/src/components/SharingEntryInternal.vue30
1 files changed, 16 insertions, 14 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue
index 73b86d26180..1f28ced9274 100644
--- a/apps/files_sharing/src/components/SharingEntryInternal.vue
+++ b/apps/files_sharing/src/components/SharingEntryInternal.vue
@@ -1,20 +1,22 @@
<template>
- <SharingEntrySimple class="sharing-entry__internal"
- :title="t('files_sharing', 'Internal link')"
- :subtitle="internalLinkSubtitle">
- <template #avatar>
- <div class="avatar-external icon-external-white" />
- </template>
+ <ul>
+ <SharingEntrySimple class="sharing-entry__internal"
+ :title="t('files_sharing', 'Internal link')"
+ :subtitle="internalLinkSubtitle">
+ <template #avatar>
+ <div class="avatar-external icon-external-white" />
+ </template>
- <ActionLink ref="copyButton"
- :href="internalLink"
- target="_blank"
- :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'"
- @click.prevent="copyLink">
- {{ clipboardTooltip }}
- </ActionLink>
- </SharingEntrySimple>
+ <ActionLink ref="copyButton"
+ :href="internalLink"
+ target="_blank"
+ :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'"
+ @click.prevent="copyLink">
+ {{ clipboardTooltip }}
+ </ActionLink>
+ </SharingEntrySimple>
+ </ul>
</template>
<script>