Updates Recent Reactions UI to match Admin UI changes (#10109)
-Adds crayons styling to _negative_reactions.html.erb -Removes dead divs from template
This commit is contained in:
parent
1fbab70dc4
commit
e7608d83bd
1 changed files with 3 additions and 5 deletions
|
|
@ -1,10 +1,9 @@
|
|||
<div class="row my-3">
|
||||
<div class="col-12">
|
||||
<div class="crayons-card p-6">
|
||||
<div>
|
||||
<h2 class="d-inline">Recent Reactions</h2>
|
||||
<button type="button" data-toggle="collapse" data-target="#reactions-row" class="btn btn-secondary float-right">Toggle</button>
|
||||
</div>
|
||||
<div class="col-12 collapse" id="reactions-row">
|
||||
<div class="list-group-flush">
|
||||
<div class="pt-6 collapse" id="reactions-row">
|
||||
<% unless @related_vomit_reactions.empty? %>
|
||||
<% @related_vomit_reactions.each do |reaction| %>
|
||||
<a href="<%= reaction.reactable.path %>" class="list-group-item list-group-item-action px-5 d-flex justify-content-between">
|
||||
|
|
@ -16,6 +15,5 @@
|
|||
<% else %>
|
||||
<p><em>Nothing negative to see here! 👀</em></p>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue