Fix horizontal scroll and captcha on mobile, host for user id

This commit is contained in:
flaburgan 2023-11-13 22:13:44 +01:00
parent 7782a32921
commit 89f906b1b1
3 changed files with 5 additions and 8 deletions

View file

@ -2,9 +2,9 @@
// For the mobile version which doesn't have the same global CSS
background: $body-bg;
#app {
margin: -10px;
margin-bottom: 10px;
#main {
padding: 0;
padding-top: 46px;
}
// End specific mobile

View file

@ -12,7 +12,7 @@
<label for="user_username"><%= t("registrations.new.username") %></label>
</p>
<p>
<input type="text" id="user_username" name="user[username]" value="<%= @user.username %>" class="form-control" pattern="[A-Za-z0-9_.\-]+" required />@<%= AppConfig.pod_uri.host %>
<input type="text" id="user_username" name="user[username]" value="<%= @user.username %>" class="form-control" pattern="[A-Za-z0-9_.\-]+" required /><%= User.diaspora_id_host %>
</p>
<p class="advice"><%= t("registrations.new.username_advice") %></p>
</section>
@ -74,4 +74,4 @@
</section>
<% end %>
</main>
</div>
</div>

View file

@ -1,3 +0,0 @@
.form-group#captcha
= simple_captcha_options[:image]
= simple_captcha_options[:field]