Skip to content

Commit

Permalink
Fixed #76 -- Off-screen submit button visible on large displays
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Dec 11, 2014
1 parent db4ce87 commit 5a3ab05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion two_factor/templates/two_factor/core/login.html
Expand Up @@ -27,7 +27,7 @@ <h1>{% block title %}{% trans "Login" %}{% endblock %}</h1>
{% include "two_factor/_wizard_forms.html" %}

{# hidden submit button to enable [enter] key #}
<div style="margin-left: -500px"><input type="submit" value=""/></div>
<div style="margin-left: -9999px"><input type="submit" value=""/></div>

{% if other_devices %}
<p>{% trans "Or, alternatively, use one of your backup phones:" %}</p>
Expand Down
2 changes: 1 addition & 1 deletion two_factor/templates/two_factor/core/phone_register.html
Expand Up @@ -17,7 +17,7 @@ <h1>{% block title %}{% trans "Add Backup Phone" %}{% endblock %}</h1>
{% include "two_factor/_wizard_forms.html" %}

{# hidden submit button to enable [enter] key #}
<div style="margin-left: -500px"><input type="submit" value=""/></div>
<div style="margin-left: -9999px"><input type="submit" value=""/></div>

{% include "two_factor/_wizard_actions.html" %}
</form>
Expand Down
2 changes: 1 addition & 1 deletion two_factor/templates/two_factor/core/setup.html
Expand Up @@ -41,7 +41,7 @@ <h1>{% block title %}{% trans "Enable Two-Factor Authentication" %}{% endblock %
{% include "two_factor/_wizard_forms.html" %}

{# hidden submit button to enable [enter] key #}
<div style="margin-left: -500px"><input type="submit" value=""/></div>
<div style="margin-left: -9999px"><input type="submit" value=""/></div>

{% include "two_factor/_wizard_actions.html" %}
</form>
Expand Down

0 comments on commit 5a3ab05

Please sign in to comment.