Use flex instead of equalizer in following

We're also removing the padding in the (now called) followables element,
since it caused a gap on the right side of the border of the
`.menu.simple` element.
This commit is contained in:
Javi Martín
2024-10-23 01:03:11 +02:00
parent 909272d879
commit d34c9905a4
2 changed files with 18 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
<div class="row users-following margin-top" data-equalizer data-equalize-on="medium">
<div class="small-12 medium-8 column" data-equalizer-watch>
<div class="users-following">
<div class="followables">
<ul class="menu simple clear">
<% follows.each do |followable_type, follows| %>
<li><%= link_to followable_type_title(followable_type), "##{followable_type_title(followable_type).parameterize.underscore}" %></li>
@@ -21,7 +21,7 @@
<% end %>
</div>
<div class="small-12 medium-4 column interests" data-equalizer-watch>
<div class="interests">
<%= render "interests", user: user %>
</div>
</div>