From 944cfb0fbe67cfa0af1f64015207059445f984aa Mon Sep 17 00:00:00 2001 From: rumblefrog Date: Mon, 6 Jul 2026 17:31:56 -0400 Subject: [PATCH] fix(admin-servers): vertically align Server ID value with its label Follow-up to #1523. The Server ID row's
is a flex container whose copy button (btn--xs, 1.5rem) makes the row taller than one line of text, while the sibling
label inherited the grid's default align-items:stretch and sat top-aligned, so the ID read as dropped below its "Server ID" label. Add align-items:center to the card's inner
so every label/value pair lines up on the same vertical level; the single-line Mod/Players/Map rows are unaffected (center vs stretch is a no-op at equal height). --- web/themes/default/page_admin_servers_list.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/themes/default/page_admin_servers_list.tpl b/web/themes/default/page_admin_servers_list.tpl index 39f7d129e..dc0acd8e0 100644 --- a/web/themes/default/page_admin_servers_list.tpl +++ b/web/themes/default/page_admin_servers_list.tpl @@ -150,7 +150,16 @@ {/if} -
+ {* + align-items:center keeps each label/value pair on the + same vertical line. The "Server ID" row's
is a flex + container whose copy button (btn--xs, 1.5rem) makes the + row taller than a single line of text; without centering + the grid, the
label sits top-aligned while the + button-driven
content centres, so the ID reads as + dropped below its label (#1523 follow-up). + *} +
{* Server ID (#1504): the numeric sid the SourceMod plugin's sourcebans.cfg "ServerID" field needs.