Skip to content

Commit

Permalink
Fix the background of the pinned assistant (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Schulz <[email protected]>
  • Loading branch information
jasonpaulso and Jason Schulz authored Apr 19, 2024
1 parent 24082c9 commit ece113d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/assistants/_assistant.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% selected = assistant == @assistant %>
<% first = assistant_counter == 0 %>

<div class="<%= first && 'absolute top-[17px] left-0 pl-3 w-full z-10' %>">
<div class="bg-gray-50 <%= first && 'absolute top-[17px] left-0 pl-3 w-full z-10' %>">
<%# This extra div ^ is needed because of the absolute positioning. It doesn't lay out properly if added to the div below. %>
<div class="
flex justify-between items-center
Expand Down

0 comments on commit ece113d

Please sign in to comment.