Commit 14400c79 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

small layout fixes for mobile

viewport is too wide and checkbox is almost invisible
parent dafd0ad6
......@@ -15,12 +15,12 @@
<body>
<%= javascript_include_tag '/ipick.js' %>
<div class="container px-0">
<div class="container">
<% if current_user && !signup? %>
<% # small devices: collabsible navbar at the top %>
<span class="d-block d-md-none">
<nav class="navbar navbar-expand-lg navbar-light">
<nav class="navbar navbar-expand-lg navbar-light px-0">
<%= render "menu" %>
</nav>
</span>
......
......@@ -20,11 +20,12 @@
</div>
<% if mail_crypt_enabled? %>
<div class="form-check">
<input type="checkbox" id="email_recovery_token" name="email_recovery_token" <%= if @email_recovery_token then 'checked="checked"' else '' end %> />
<%= label_tag(:email_recovery_token, (t :backup_recovery_token_email), class: "form-check-label") %>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" id="email_recovery_token" name="email_recovery_token" <%= if @email_recovery_token then 'checked="checked"' else '' end %> />
<%= label_tag(:email_recovery_token, (t :backup_recovery_token_email), class: "custom-control-label") %>
</div>
<div class="pt-3"></div>
</div>
<% end %>
<div class="form-group">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment