]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11830 width applied to input fields only, that should solve the incorrect size...
authorskodak <skodak>
Tue, 8 Jan 2008 07:33:48 +0000 (07:33 +0000)
committerskodak <skodak>
Tue, 8 Jan 2008 07:33:48 +0000 (07:33 +0000)
blocks/login/block_login.php
blocks/login/styles.php

index c6c7039a4b4956496f28a68c634dbb4c200fd42c..e45f2f877aff6555014ad563e97b281553b7170d 100644 (file)
@@ -45,10 +45,10 @@ class block_login extends block_base {
 
             $this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.$wwwroot.'/login/index.php">';
 
-            $this->content->text .= '<div class="c1"><label for="login_username">'.get_string('username').'</label>';
+            $this->content->text .= '<div class="c1 fld"><label for="login_username">'.get_string('username').'</label>';
             $this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>';
 
-            $this->content->text .= '<div class="c1"><label for="login_password">'.get_string('password').'</label>';
+            $this->content->text .= '<div class="c1 fld"><label for="login_password">'.get_string('password').'</label>';
             $this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>';
 
             $this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>';
index 9e70b07eb65bde23eff545adcaddb0b33516448e..ef1e952399f64f6009b561e062abe47b8ee2f06b 100644 (file)
@@ -6,8 +6,8 @@
   display:inline;
 }
 
-.block_login .loginform .c1 input {
-  width:6em;
+.block_login .loginform .fld input {
+  width:5em;
 }
 
 .block_login .loginform label {