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/SharingEntrySimple.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/SharingEntrySimple.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntrySimple.vue | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |