refactor(files): merge grid and list builder, use CSS only to switch between views

This commit is contained in:
Edouard Vanbelle
2026-04-03 17:58:14 +02:00
parent 3157d6ef64
commit a466a6473d
19 changed files with 640 additions and 743 deletions
+3 -3
View File
@@ -26,7 +26,7 @@
}
/* Adjustments for grid view */
.file-card.recent-item {
.files-grid-view .file-item.recent-item {
border-left: 3px solid #6c757d;
[dir='rtl'] & {
@@ -77,7 +77,7 @@
}
/* Tooltip for access time */
.recent-item .file-info {
.recent-item .type-cell {
cursor: help;
}
@@ -89,4 +89,4 @@
@keyframes recent-fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
}