scale display form to match openid size
authorJoey Hess <joey@kitenet.net>
Sat, 8 May 2010 01:48:50 +0000 (21:48 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 8 May 2010 01:48:50 +0000 (21:48 -0400)
IkiWiki/Plugin/openid.pm

index 36002371aa7eeb1d86e7abd2b015299d0ee29fa4..d75099ce9c0baa4e3127f442f9ba38d9157aced9 100644 (file)
@@ -92,7 +92,7 @@ sub formbuilder_setup (@) {
                $form->field(name => "openid_identifier", disabled => 1,
                        label => htmllink("", "", "ikiwiki/OpenID", noimageinline => 1),
                        value => $session->param("name"), 
-                       size => 50, force => 1,
+                       size => length($session->param("name")), force => 1,
                        fieldset => "login");
                $form->field(name => "email", type => "hidden");
        }