diff --git a/client/src/App.css b/client/src/App.css index 316ce1f..d24d756 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1891,6 +1891,41 @@ body:has(.theme-cupertino) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; + align-items: end; +} + +.consumption-grid .input-group { + display: flex; + flex-direction: column; + height: 100%; +} + +.consumption-grid .input-group label { + flex: 1 1 auto; + min-height: 2.75em; + display: flex; + align-items: flex-end; + margin-bottom: 8px; + line-height: 1.35; +} + +.consumption-grid .input-group .input-text { + flex-shrink: 0; + -moz-appearance: textfield; +} + +.consumption-grid .input-text::-webkit-outer-spin-button, +.consumption-grid .input-text::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.consumption-grid .consumption-value { + color: #4ade80; + font-weight: 700; + text-align: center; + pointer-events: none; + cursor: default; } @media (max-width: 480px) { diff --git a/client/src/components/LogEntryEditor.tsx b/client/src/components/LogEntryEditor.tsx index 915eae9..267c4fa 100644 --- a/client/src/components/LogEntryEditor.tsx +++ b/client/src/components/LogEntryEditor.tsx @@ -764,7 +764,7 @@ export default function LogEntryEditor({