mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-11830 width applied to input fields only, that should solve the incorrect size of button; merged from MOODLE_19_STABLE
This commit is contained in:
parent
f49312b6a6
commit
c395030777
@ -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>';
|
||||
|
@ -6,8 +6,8 @@
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.block_login .loginform .c1 input {
|
||||
width:6em;
|
||||
.block_login .loginform .fld input {
|
||||
width:5em;
|
||||
}
|
||||
|
||||
.block_login .loginform label {
|
||||
|
Loading…
x
Reference in New Issue
Block a user