diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-22 17:49:55 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-07-22 17:49:55 +0200 |
commit | be6285acf65a766e708da9e3d0e2326bfe4e3347 (patch) | |
tree | abe0dea7fc08e10a9fbb924c4b389b841319737b /apps/files_sharing/src/components/SharingEntryLink.vue | |
parent | 6c42874f04477a9741089bd4763ad47ad4130b2f (diff) | |
download | nextcloud-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/SharingEntryLink.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 638cdf485b0..a8cd09a9a9f 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -26,9 +26,9 @@ :icon-class="isEmailShareType ? 'avatar-link-share icon-mail-white' : 'avatar-link-share icon-public-white'" class="sharing-entry__avatar" /> <div class="sharing-entry__desc"> - <h5 :title="title"> + <span class="sharing-entry__title" :title="title"> {{ title }} - </h5> + </span> <p v-if="subtitle"> {{ subtitle }} </p> @@ -883,15 +883,15 @@ export default { line-height: 1.2em; overflow: hidden; - h5 { - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } p { color: var(--color-text-maxcontrast); } } + &__title { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } &:not(.sharing-entry--share) &__actions { .new-share-link { |