From 74ff8eb16b801c82d375df8dfd6415cdfe2cfeeb Mon Sep 17 00:00:00 2001 From: elpatron Date: Sun, 7 Jun 2026 14:27:44 +0200 Subject: [PATCH] style: fix journal entry action buttons alignment on mobile --- client/src/App.css | 21 +++++++++++++++++++++ client/src/components/LogEntriesList.tsx | 20 ++++++++++---------- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index d7117df..5571234 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1939,6 +1939,21 @@ html.scheme-dark .themed-select-option.is-selected { pointer-events: none; } +.logbook-card-right-group { + margin-left: auto; + display: flex; + align-items: center; + gap: 8px; + flex-shrink: 0; + position: relative; + z-index: 2; + align-self: center; +} + +.logbook-card-right-group .logbook-card-chevron { + margin-left: 0; +} + .logbook-card .logbook-title-editable, .logbook-card .logbook-title-inline-edit, .logbook-card .card-title-row { @@ -2968,6 +2983,12 @@ html.scheme-dark .themed-select-option.is-selected { opacity: 1; } + .logbook-card-right-group .btn-pdf, + .logbook-card-right-group .btn-delete { + position: static; + opacity: 1; + } + .card-meta { flex-wrap: wrap; } diff --git a/client/src/components/LogEntriesList.tsx b/client/src/components/LogEntriesList.tsx index a27c687..c2b42ab 100644 --- a/client/src/components/LogEntriesList.tsx +++ b/client/src/components/LogEntriesList.tsx @@ -541,17 +541,17 @@ export default function LogEntriesList({ - - - - - {!readOnly && ( - - )} + {!readOnly && ( + + )} + + ))}