mobile > index > project selected > Fixed: projects disapearing when hover on fix
All checks were successful
Deploy / Deploy to Production (push) Successful in 8s

This commit is contained in:
Camilledenoray 2026-07-08 14:56:34 +02:00
parent 3486ae9c6c
commit c6ca1edc36
4 changed files with 13 additions and 24 deletions

View file

@ -11,9 +11,6 @@ return function($site) {
$file = $files->nth($i);
$nextFile = $files->nth($i + 1);
dump($file->filename() . ' / type=' . $file->type());
dump($file->fileOrientation());
$isPortrait = in_array($file->type(), ['image', 'video'], true)
&& $file->fileOrientation() === 'portrait';
$nextIsPortrait = $nextFile