aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FilesListVirtual.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-25 11:51:11 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-06 14:49:31 +0200
commitf28944e23f96dd756cba3739e99c2fba57e81f1f (patch)
treee6fde2f68c458184d5f81d2c095f2903c0917e60 /apps/files/src/components/FilesListVirtual.vue
parente85eb4c59395c4c59d0bb19fb8ad64063a8d7f3b (diff)
downloadnextcloud-server-f28944e23f96dd756cba3739e99c2fba57e81f1f.tar.gz
nextcloud-server-f28944e23f96dd756cba3739e99c2fba57e81f1f.zip
feat(files): propagate restore and delete events
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/FilesListVirtual.vue')
-rw-r--r--apps/files/src/components/FilesListVirtual.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue
index 77da9bb2d6f..e6cd60c2cad 100644
--- a/apps/files/src/components/FilesListVirtual.vue
+++ b/apps/files/src/components/FilesListVirtual.vue
@@ -139,6 +139,7 @@ export default Vue.extend({
height: 100%;
&::v-deep {
+ // Table head, body and footer
tbody, .vue-recycle-scroller__slot {
display: flex;
flex-direction: column;
@@ -148,7 +149,7 @@ export default Vue.extend({
}
// Table header
- .vue-recycle-scroller__slot {
+ .vue-recycle-scroller__slot[role='thead'] {
// Pinned on top when scrolling
position: sticky;
z-index: 10;
@@ -157,18 +158,17 @@ export default Vue.extend({
background-color: var(--color-main-background);
}
+ /**
+ * Common row styling. tr are handled by
+ * vue-virtual-scroller, so we need to
+ * have those rules in here.
+ */
tr {
position: absolute;
display: flex;
align-items: center;
width: 100%;
border-bottom: 1px solid var(--color-border);
-
- &:hover,
- &:focus,
- &:active {
- background-color: var(--color-background-dark);
- }
}
}
}