aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FilesListVirtual.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/FilesListVirtual.vue')
-rw-r--r--apps/files/src/components/FilesListVirtual.vue9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue
index 6df059f6143..4b72bf1d777 100644
--- a/apps/files/src/components/FilesListVirtual.vue
+++ b/apps/files/src/components/FilesListVirtual.vue
@@ -693,18 +693,15 @@ export default defineComponent({
}
&-preview {
+ // Ensure the fallback icon is main text color
+ color: var(--color-main-text);
+
// Center and contain the preview
object-fit: contain;
object-position: center;
height: 100%;
width: 100%;
-
- /* Preview not loaded animation effect */
- &:not(.files-list__row-icon-preview--loaded) {
- background: var(--color-loading-dark);
- // animation: preview-gradient-fade 1.2s ease-in-out infinite;
- }
}
&-favorite {