Defect #23777 » fix-login-button-is-too-thin.diff
app/views/account/login.html.erb (working copy) | ||
---|---|---|
22 | 22 |
<label for="autologin"><%= check_box_tag 'autologin', 1, false, :tabindex => 4 %> <%= l(:label_stay_logged_in) %></label> |
23 | 23 |
<% end %> |
24 | 24 |
|
25 |
<input type="submit" name="login" value="<%=l(:button_login)%>" tabindex="5" id="login-submit" />
|
|
25 |
<button type="submit" name="login" tabindex="5" id="login-submit"><%=l(:button_login)%></button>
|
|
26 | 26 |
<% end %> |
27 | 27 |
</div> |
28 | 28 |
public/stylesheets/application.css (working copy) | ||
---|---|---|
123 | 123 |
#login-form label[for=autologin] {font-weight:normal;} |
124 | 124 |
#login-form a.lost_password {float:right; font-weight:normal;} |
125 | 125 |
#login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;} |
126 |
#login-form input#login-submit {margin-top:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
|
|
126 |
#login-form button#login-submit {margin-top:15px; padding:7px; display:block; width:100%; box-sizing: border-box;}
|
|
127 | 127 | |
128 | 128 |
div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;} |
129 | 129 |
div.modal h3.title {display:none;} |