From 8914f5f746898350d4ffec230a1a751190aba193 Mon Sep 17 00:00:00 2001 From: boban Date: Mon, 22 Jun 2026 06:06:32 +0200 Subject: [PATCH] fix(files): responsive file rows + restore button cursor (v0.9.55) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - File manager: on tablet widths the lg table grid squeezed the name column (minmax(0,1fr)) to near-zero behind the perms/size/modified columns + wide action buttons, so the filename was unreadable/overlapped. The rows now render as a stacked card below xl — name on its own full-width line, a folded perms·size·modified line and the actions beneath — and only switch to the table grid at xl (tightened columns). Mobile tidied up to match. - Restore the pointer cursor: Tailwind v4's preflight makes buttons use the default cursor, so clickable controls (folder names, every button) didn't show a hand. Added a base rule giving enabled button/[role=button]/summary/label the pointer cursor. Verified the row at desktop / tablet / mobile widths (name readable at every breakpoint, table only when wide). 374 tests pass (the Livewire test renders the blade), Tailwind build clean. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 12 ++++++- config/clusev.php | 2 +- resources/css/app.css | 9 +++++ .../views/livewire/files/index.blade.php | 34 +++++++++---------- 4 files changed, 37 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0a4e22..6256565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,17 @@ getaggte Releases (Kanal `stable`, optional `beta`) — niemals Entwicklungs-Bui _Keine offenen Änderungen — der nächste Stand wird hier gesammelt und als `vX.Y.Z` getaggt._ -## [0.9.54] - 2026-06-22 +## [0.9.55] - 2026-06-22 + +### Behoben +- **Datei-Manager: Dateiname im Tablet-Modus vom Rechte-Block überdeckt.** Die Tabellenspalten + (Rechte/Größe/Geändert) + Aktions-Buttons quetschten die Namensspalte auf nahezu null. Die Liste + rendert jetzt **unterhalb großer Bildschirme als gestapelte Karte** (Name in voller Breite, Meta-Zeile + und Aktionen darunter); die Tabellenansicht erscheint erst auf breiten Displays. Die mobile Ansicht + wurde dabei mit aufgeräumt. +- **Zeiger-Cursor auf Buttons fehlte.** Tailwind v4 stellt Buttons standardmäßig auf den + Standard-Cursor; auf anklickbaren Elementen (z. B. Ordnernamen, alle Buttons) erscheint jetzt wieder + der Hand-Zeiger. ### Behoben - **Datei-Manager: „undefined is not valid JSON" beim Öffnen mancher Dateien.** Öffnete man eine diff --git a/config/clusev.php b/config/clusev.php index 9b619fe..fd36c99 100644 --- a/config/clusev.php +++ b/config/clusev.php @@ -2,7 +2,7 @@ return [ // First tagged release is v0.1.0 (semantic, not -dev). - 'version' => '0.9.54', + 'version' => '0.9.55', // Deployed commit + branch. install.sh bakes these into .env from the host's .git (the prod // image ships no .git); the Versions page prefers them and falls back to a live .git read in diff --git a/resources/css/app.css b/resources/css/app.css index e24042a..7e1c642 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -112,6 +112,15 @@ color-scheme: dark; } + /* Tailwind v4's preflight makes buttons use the default cursor — restore the pointer on + enabled interactive controls so clickable elements feel clickable (e.g. folder names). */ + button:not(:disabled), + [role="button"]:not([aria-disabled="true"]), + summary, + label[for] { + cursor: pointer; + } + /* keyboard focus — visible token ring on the dark UI (a11y) */ :focus-visible { outline: 2px solid var(--color-accent); diff --git a/resources/views/livewire/files/index.blade.php b/resources/views/livewire/files/index.blade.php index 717145b..604bf9d 100644 --- a/resources/views/livewire/files/index.blade.php +++ b/resources/views/livewire/files/index.blade.php @@ -57,8 +57,8 @@ - {{-- Column header (desktop only) --}} -