From b0ebe061b50f9778b25b78d19bbbc1ea89748416 Mon Sep 17 00:00:00 2001 From: Mikhail Yenuchenko Date: Wed, 12 Aug 2026 23:06:09 +0300 Subject: [PATCH] panel: match DNS Type TXT height to Host fields Co-authored-by: Cursor --- internal/web/view/static/panel.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/web/view/static/panel.css b/internal/web/view/static/panel.css index 8eab861..858bcaa 100644 --- a/internal/web/view/static/panel.css +++ b/internal/web/view/static/panel.css @@ -570,10 +570,14 @@ meter { width: 5rem; height: 0.7rem; vertical-align: middle; margin-right: 0.4re .field-pair > div { min-width: 0; } .field-pair label { margin-top: 0.45rem; } /* Host / name beside a DNS Type that is always TXT — size the type column to - that token rather than giving it half the row. */ + that token rather than giving it half the row. Vertical padding matches + .code-row .code so TXT is the same height as Host when Copy sits beside it. */ .field-pair.host-type { grid-template-columns: minmax(0, 1fr) auto; } +.field-pair.host-type .code { + padding-top: 0.45rem; padding-bottom: 0.45rem; +} .field-type { width: max-content; } .field-type .code { width: fit-content; min-width: 2.75rem; text-align: center; box-sizing: border-box;