Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion web/themes/default/page_admin_servers_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,16 @@
{/if}
</header>

<dl class="text-xs text-muted" style="margin:0;display:grid;grid-template-columns:auto 1fr;gap:0.25rem 0.5rem">
{*
align-items:center keeps each label/value pair on the
same vertical line. The "Server ID" row's <dd> 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 <dt> label sits top-aligned while the
button-driven <dd> content centres, so the ID reads as
dropped below its label (#1523 follow-up).
*}
<dl class="text-xs text-muted" style="margin:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.25rem 0.5rem">
{*
Server ID (#1504): the numeric sid the SourceMod
plugin's sourcebans.cfg "ServerID" field needs.
Expand Down
Loading