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

Luxus

Well-known member
lineheight.webp

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:

Code:
.xenForm .ctrlUnit .submitUnit dd
{
    line-height: 31px;
}

To fix this we can apply the <body> line-height to the <p> element:

Code:
.xenForm .ctrlUnit .submitUnit dd p
{
    line-height: 1.28;
}
 
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).
 
Back
Top Bottom