summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-02-14 14:56:36 +0100
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:56:19 +0100
commit103298ecd1c5581cf54176ccc88d1daf8101b12b (patch)
treecd90c374141a416ba11914bd3425ae50472cad6c /apps/files_sharing
parentc8c59e600618bb2dffbe5a579984ec81bd69744c (diff)
downloadnextcloud-server-103298ecd1c5581cf54176ccc88d1daf8101b12b.tar.gz
nextcloud-server-103298ecd1c5581cf54176ccc88d1daf8101b12b.zip
Use icon-close to remove resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/src/components/CollectionListItem.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/CollectionListItem.vue b/apps/files_sharing/src/components/CollectionListItem.vue
index ff28a7c1891..e6b307bfd84 100644
--- a/apps/files_sharing/src/components/CollectionListItem.vue
+++ b/apps/files_sharing/src/components/CollectionListItem.vue
@@ -47,7 +47,7 @@
<ul class="resource-list-details" v-if="detailsOpen">
<li v-for="resource in collection.resources">
<a :href="resource.link"><span :class="getIcon(resource)"></span><span class="resource-name">{{ resource.name || '' }}</span></a>
- <span class="icon-delete" @click="removeResource(collection, resource)"></span>
+ <span class="icon-close" @click="removeResource(collection, resource)"></span>
</li>
</ul>
</transition>
@@ -168,6 +168,11 @@
li {
display: flex;
margin-left: 44px;
+ border-radius: 3px;
+
+ &:hover {
+ background-color: var(--color-background-dark);
+ }
a {
flex-grow: 1;
padding: 3px;