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

Fixed 1.4b3 line-height in css

Arty

Well-known member
#1
Line-height is messed up when saving style properties in WebDav.

Example: this is code in .css file that I'm saving:
Code:
  #SignupButton .inner
   {
     @property "signupButtonInner";
     height: 34px;
     line-height: 34px;
     @property "/signupButtonInner";
   }
and this is css output in browser:
Code:
#SignupButton .inner
{
line-
line-height: 34px;
height: 34px;

}
It it happening only if height is before line-height.
 

Mike

XenForo developer
Staff member
#2
Fixed now. It had to do with the detection of "unmatched" elements going wrong because the first rule is a sub-string of the second. I changed the approach here a bit.