Skip to content

Commit

Permalink
Fix map position in mobile responsiveness (#5754)
Browse files Browse the repository at this point in the history
  • Loading branch information
CleverFool77 authored and jywarren committed May 21, 2019
1 parent f7b546a commit 439d3ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/users/list.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="col-md-6" style="font-family:Junction Regular;">
<div class="col-md-6 order-sm-2 order-1" style="font-family:Junction Regular;">
<% if current_user && (current_user.role == "admin" || current_user.role == "moderator")%>
<h3><%= t('users.list.user_moderation') %></h3>
<p><%= t('users.list.admins_ban_spam') %> </p>
Expand Down Expand Up @@ -56,10 +56,10 @@
</div>
<%= will_paginate @users, renderer: WillPaginate::ActionView::BootstrapLinkRenderer unless @unpaginated %>
</div>
<div class="col-md-6 d-none d-md-block">
<div class="col-md-6 order-2 d-none d-md-block">
<%= render :partial => "map/peopleLeaflet" , locals: {people: true , lat:23 , lon: 4} %>
</div>
<div class="col-md-6 d-md-none">
<div class="col-md-6 order-sm-1 d-md-none">
<%= render :partial => "map/peopleLeaflet" , locals: {people: true , lat:23 , lon: 4} %>
</div>
<style>
Expand Down

0 comments on commit 439d3ce

Please sign in to comment.