From: S Page Date: Tue, 28 May 2013 23:47:06 +0000 (-0700) Subject: benefits icon part of background, not float X-Git-Tag: 1.31.0-rc.0~19534^2 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=24558b5a27d76ea49e06dce705e16e6710add3b7;p=lhc%2Fweb%2Fwiklou.git benefits icon part of background, not float The separate icon floating left made the benefit text not request a width, so the benefits column width was determined by the h2 "made by people like you" heading and a short h2 could clip big numbers. Now the icon is part of the background for the text div, and the column width is the larger of h2 heading and benefits. Bug: 48909 Change-Id: Iaf5fb1ccb4f50d34cad8a29b2bdd8f5b267ef008 --- diff --git a/includes/templates/UsercreateVForm.php b/includes/templates/UsercreateVForm.php index 2e72f70da1..2f90d3ceaf 100644 --- a/includes/templates/UsercreateVForm.php +++ b/includes/templates/UsercreateVForm.php @@ -270,12 +270,9 @@ class UsercreateTemplateVForm extends BaseTemplate { // Pass each benefit's head text (by default a number) as a parameter to the body's message for PLURAL handling. $headUnescaped = $this->getMsg( "createacct-benefit-head$benefitIdx" )->text(); ?> -
-
">
-
-

msg( "createacct-benefit-head$benefitIdx" ); ?>

-

getMsg( "createacct-benefit-body$benefitIdx" )->params( $headUnescaped )->escaped(); ?>

-
+
"> +

msg( "createacct-benefit-head$benefitIdx" ); ?>

+

getMsg( "createacct-benefit-body$benefitIdx" )->params( $headUnescaped )->escaped(); ?>