We recently added margin-top to all elements with class cdx-field in T358827. This change introduced spacing between links within the Log in form on Special:UserLogin. These links are nested inside HTMLInfoField with the class cdx-field.
The HTMLInfoField within the Log In form already had margin-top and margin-bottom of 0.5em before. Now there's an additional margin-top: 24px;.
This was discovered from a regression test by Kim (Web team).
Before/After:
Questions:
- Did we intend to create extra space between links in a Field?
- Are there other examples of extra spacing in Fields that we are not aware of and need to be addressed?
Acceptance Criteria
- Remove the excess spacing (margin-top) from HTMLInfoField