From 36047178ee8494650877d43b7179a36ac8ac1e91 Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Mon, 12 Oct 2026 15:38:53 -0500 Subject: [PATCH] Space the edit form labels from their fields and align the reason line The label column had no padding, so help text touched its textarea, and the reason-for-change row used the centred submit layout, which pushed its input far from the label. The description box is 76 columns like the others, so it no longer drops below its label on phpBB 4.0. Co-Authored-By: Claude Sonnet 5.5 --- styles/prosilver/template/article_edit.html | 2 +- styles/prosilver/theme/style.css | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/styles/prosilver/template/article_edit.html b/styles/prosilver/template/article_edit.html index e25ffc6..85727e4 100644 --- a/styles/prosilver/template/article_edit.html +++ b/styles/prosilver/template/article_edit.html @@ -39,7 +39,7 @@

{L_EDIT_WIKI}


{L_ARTICLE_DESCRIPTION_EXPLAIN}
-
+
diff --git a/styles/prosilver/theme/style.css b/styles/prosilver/theme/style.css index 498682e..868a7ae 100644 --- a/styles/prosilver/theme/style.css +++ b/styles/prosilver/theme/style.css @@ -79,3 +79,20 @@ a.wikilink-new { margin-right: 0.3em; opacity: 0.7; } + +/* Edit form: a little room between a label's help text and its field, and the reason line laid out like the other rows */ +#postform fieldset.fields1 dt, +#postform fieldset.submit-buttons dt { + box-sizing: border-box; + width: 15em; + padding-right: 1em; + text-align: left; +} + +#postform fieldset.submit-buttons dl { + text-align: left; +} + +#postform fieldset.submit-buttons dd { + margin-left: 15em; +}