diff --git a/client/src/App.css b/client/src/App.css index ca73dc8..2a2159f 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1800,21 +1800,41 @@ html.scheme-dark .themed-select-option.is-selected { } .logbook-card-select { - flex: 1; - min-width: 0; - display: flex; - align-items: flex-start; - gap: 16px; + position: absolute; + inset: 0; + z-index: 0; + width: 100%; + height: 100%; padding: 0; margin: 0; border: none; + border-radius: inherit; background: transparent; - color: inherit; - font: inherit; - text-align: left; cursor: pointer; } +.logbook-card > .card-icon, +.logbook-card > .card-info { + position: relative; + z-index: 1; + pointer-events: none; +} + +.logbook-card > .card-info { + flex: 1; + min-width: 0; +} + +.logbook-card .logbook-title-editable, +.logbook-card .logbook-title-inline-edit, +.logbook-card .card-title-row { + pointer-events: auto; +} + +.logbook-card--editing-title > .card-info { + pointer-events: auto; +} + .logbook-card { background: var(--app-surface-alt); backdrop-filter: var(--app-backdrop); @@ -1930,6 +1950,8 @@ html.scheme-dark .themed-select-option.is-selected { display: flex; align-items: center; margin-top: -2px; + position: relative; + z-index: 2; } .logbook-card-actions .btn-delete { diff --git a/client/src/components/LogbookDashboard.tsx b/client/src/components/LogbookDashboard.tsx index 3a2bb73..43aa19b 100644 --- a/client/src/components/LogbookDashboard.tsx +++ b/client/src/components/LogbookDashboard.tsx @@ -226,14 +226,18 @@ export default function LogbookDashboard({ onSelectLogbook, onLogout, onOpenProf return (
-
- {!lb.isShared && (
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json index 91e028c..ac182e3 100644 --- a/client/src/i18n/locales/da.json +++ b/client/src/i18n/locales/da.json @@ -468,6 +468,7 @@ "role_read": "Læs kun", "role_read_hint": "Opdelt logbog - kun visning, ingen redigering", "open_profile": "Åben profil af {{name}}", + "open_logbook": "Åbn logbog „{{title}}“", "edit_title": "Omdøb logbog", "edit_placeholder": "Nyt navn på logbogen", "edit_success": "Logbog omdøbt med succes", diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json index 404d958..b38a829 100644 --- a/client/src/i18n/locales/de.json +++ b/client/src/i18n/locales/de.json @@ -468,6 +468,7 @@ "role_read": "Nur Lesen", "role_read_hint": "Geteiltes Logbuch — nur Ansicht, keine Bearbeitung", "open_profile": "Profil von {{name}} öffnen", + "open_logbook": "Logbuch „{{title}}“ öffnen", "edit_title": "Logbuch umbenennen", "edit_placeholder": "Neuer Name des Logbuchs", "edit_success": "Logbuch erfolgreich umbenannt", diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json index 644fb25..2eb7d6a 100644 --- a/client/src/i18n/locales/en.json +++ b/client/src/i18n/locales/en.json @@ -468,6 +468,7 @@ "role_read": "Read only", "role_read_hint": "Shared logbook — view only, no editing", "open_profile": "Open profile for {{name}}", + "open_logbook": "Open logbook “{{title}}”", "edit_title": "Rename Logbook", "edit_placeholder": "New name of the logbook", "edit_success": "Logbook renamed successfully", diff --git a/client/src/i18n/locales/nb.json b/client/src/i18n/locales/nb.json index ddf2a23..58ed676 100644 --- a/client/src/i18n/locales/nb.json +++ b/client/src/i18n/locales/nb.json @@ -468,6 +468,7 @@ "role_read": "Bare les", "role_read_hint": "Delt loggbok - kun visning, ingen redigering", "open_profile": "Åpne profilen til {{name}}", + "open_logbook": "Åpne loggbok «{{title}}»", "edit_title": "Endre navn på loggbok", "edit_placeholder": "Nytt navn på loggboken", "edit_success": "Loggboken har fått nytt navn", diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json index cd251d4..8f7f9d5 100644 --- a/client/src/i18n/locales/sv.json +++ b/client/src/i18n/locales/sv.json @@ -468,6 +468,7 @@ "role_read": "Endast läsning", "role_read_hint": "Delad loggbok - endast visning, ingen redigering", "open_profile": "Öppna profil för {{name}}", + "open_logbook": "Öppna loggbok ”{{title}}”", "edit_title": "Byt namn på loggbok", "edit_placeholder": "Nytt namn på loggboken", "edit_success": "Loggboken har framgångsrikt bytt namn",