aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntrySimple.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-25 11:41:05 +0200
committerGitHub <noreply@github.com>2022-07-25 11:41:05 +0200
commit0a956e2b957fef5a895217c7b7bcff7569c7c2c5 (patch)
tree30abb88c2e5dc264655a7ab3344e37516130feb6 /apps/files_sharing/src/components/SharingEntrySimple.vue
parent35a6f54bcd559016f4244ab0c38c2dd8a82c57cb (diff)
parentb7ae7393e9cc4838db1bc48721d827d0de089738 (diff)
downloadnextcloud-server-0a956e2b957fef5a895217c7b7bcff7569c7c2c5.tar.gz
nextcloud-server-0a956e2b957fef5a895217c7b7bcff7569c7c2c5.zip
Merge pull request #33321 from nextcloud/bugfix/noid/fix-sharing-lighthouse-issues
Fix sharing panel lighthouse warnings
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntrySimple.vue')
-rw-r--r--apps/files_sharing/src/components/SharingEntrySimple.vue14
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;
}