• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Wrong line-height in "Sign Up with Facebook" form


Well-known member

On this form below the "Sign Up" button there is text that has a too big line-height (We will automatically associate...). It isn't consistent with all the other explanations in xenforo forms. This is due to this CSS that is inherited by the <p> element that contains the text:

.xenForm .ctrlUnit .submitUnit dd
    line-height: 31px;
To fix this we can apply the <body> line-height to the <p> element:

.xenForm .ctrlUnit .submitUnit dd p
    line-height: 1.28;


XenForo developer
Staff member
I went to reproduce this in 1.2 and couldn't. Turns out I made almost that exact change a couple months ago (though it uses the "explain" class).