Skip to content

Commit

Permalink
Fix horizontal scroll and captcha on mobile, host for user id
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaburgan committed Nov 13, 2023
1 parent 7782a32 commit 89f906b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/registration.scss
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions app/views/registrations/_new.erb
Expand Up @@ -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>
Expand Down Expand Up @@ -74,4 +74,4 @@
</section>
<% end %>
</main>
</div>
</div>
3 changes: 0 additions & 3 deletions app/views/simple_captcha/_simple_captcha.mobile.haml

This file was deleted.

0 comments on commit 89f906b

Please sign in to comment.