Skip to content

Commit

Permalink
Adding dark background class to assistant container (#284)
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 ece113d commit 990428f
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="bg-gray-50 <%= first && 'absolute top-[17px] left-0 pl-3 w-full z-10' %>">
<div class="bg-gray-50 dark:bg-gray-900 <%= 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 990428f

Please sign in to comment.