improve: Immich cloud filter and optimize

This commit is contained in:
2026-10-11 20:18:04 +07:00
parent 87c68ea7bb
commit 6039f2aa4e
16 changed files with 4699 additions and 87 deletions
+5
View File
@@ -146,6 +146,11 @@ export function ColGrip({ col, min = 110, max = 560 }: { col: string; min?: numb
const ref = useRef<HTMLDivElement>(null);
const key = `studio-col-${col}`;
useEffect(() => {
if (window.innerWidth <= 860 || localStorage.getItem('rc_force_view') === 'mobile') {
const box = ref.current?.parentElement;
if (box && box.style.width) box.style.width = '';
return;
}
const box = ref.current?.parentElement;
const kept = recall(key);
if (box && kept) box.style.width = kept;