Page MenuHomePhabricator

CodexHTMLForm: fix spacing around buttons at the bottom of the form
Closed, ResolvedPublic1 Estimated Story Points

Description

Right now the buttons at the bottom of the form are wrapped in a <span class="mw-htmlform-submit-buttons"> tag. This span doesn't have any margins on it, and because the rest of the form fields have top margins, there's no spacing between the buttons and the form.

image.png (195×415 px, 19 KB)

  • Make this tag a div instead of a span (OOUIHTMLForm does this too)
  • Style it to have a top margin of 16px (@spacing-100), but only in CodexHTMLForm

Event Timeline

Catrope set the point value for this task to 1.Mon, Apr 1, 5:17 PM

Change #1015615 had a related patch set uploaded (by Catrope; author: VolkerE):

[mediawiki/core@master] htmlform: Introduce CodexHTMLForm stylesheet

https://gerrit.wikimedia.org/r/1015615

Change #1015615 merged by jenkins-bot:

[mediawiki/core@master] htmlform: Introduce CodexHTMLForm stylesheet

https://gerrit.wikimedia.org/r/1015615