From 24558b5a27d76ea49e06dce705e16e6710add3b7 Mon Sep 17 00:00:00 2001 From: S Page Date: Tue, 28 May 2013 16:47:06 -0700 Subject: [PATCH] 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 --- includes/templates/UsercreateVForm.php | 9 ++---- .../mediawiki.special.createAccount.vform.css | 28 ++++++++----------- 2 files changed, 14 insertions(+), 23 deletions(-) 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(); ?>