From 23f0ba995cb66af69b7bea004276a44e1b314046 Mon Sep 17 00:00:00 2001 From: d00f Date: Wed, 5 Aug 2026 20:38:47 +0200 Subject: [PATCH] css: align read-only values with the input fields The System Settings rows all pair a label with a form control, except Model, which is a bare span. The inputs carry padding and a left margin, so their text starts about 32px further in than the model name did - close enough to look like a mistake and far enough to see it. Give read-only values a class with the same metrics instead of styling the model specifically; any other value shown without a control gets the alignment for free. --- html/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/style.css b/html/style.css index 84d3a2e..9bc8b5d 100644 --- a/html/style.css +++ b/html/style.css @@ -82,6 +82,8 @@ object, img { .isNOK{ color: #900;} .isOK{ color: #090;} .ip{padding:8px 16px;margin-bottom: 1em;margin-left: 1em} +/* read-only values line up with the text inside the input fields */ +.rotext{display:inline-block;padding:8px 16px;margin-bottom: 1em;margin-left: 1em} .row {display: flex;} .rcol {flex: 90%;} .lcol {flex: 10%;}