Skip to content
Snippets Groups Projects
Verified Commit a4e91cdb authored by tribut's avatar tribut :man_dancing:
Browse files

Fix wrapping of assignments anchors

parent a7c0a7fd
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
<h1 class="text-xl my-4">Assignments for all users</h1>
<p>
Jump to:
<ul class="flex flex-row">
<ul class="flex flex-row flex-wrap">
<% @assignments.group_by(&:user).each_with_index do |(user, assignments), index| %>
<li>
<%= link_to user.name, "#" + dom_id(user), class: index == 0 ? "" : "border-l-2 border-gray-300 pl-2 ml-2" %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment