1. 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

Discussion in 'Resolved Bug Reports' started by Luxus, Jun 2, 2013.

  1. Luxus

    Luxus Well-Known Member

    lineheight.png

    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;
    }
     
    Alien likes this.
  2. Mike

    Mike 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).
     
    Luxus likes this.

Share This Page