From ae40e5cce32d0668a3ee69c4a19732d70783c238 Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Fri, 13 Feb 2026 10:59:15 +0100 Subject: [PATCH] [style](trx-frontend-http): align unit and power labels to the right Co-authored-by: OpenAI Codex Signed-off-by: Stanislaw Grams --- .../trx-frontend/trx-frontend-http/assets/web/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css index c40e7e7..06016d2 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css @@ -96,7 +96,7 @@ input.status-input, select.status-input { width: 100%; padding: 0.45rem 0.5rem; margin-bottom: 0; } .controls-col-power.label-below-col .label { - text-align: right; + justify-content: flex-end; } .controls-col.label-below-col > :not(.label) { order: 1; @@ -265,12 +265,16 @@ button:disabled { opacity: 0.6; cursor: not-allowed; } flex: 0 0 auto; } .unit-col .label { - text-align: right; + display: flex; + justify-content: flex-end; } .label-below-row { display: flex; flex-direction: column; } +#tab-main .label > span { + text-align: center; +} .label-below-row > .label { order: 2; margin-top: 0.45rem;