minor ui polish

This commit is contained in:
Andrew Brown 2023-05-19 21:06:30 -07:00
parent 9da0ed3677
commit 6428fa713f
2 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@
In the
<span class="text-gray-500 mx-1 <%= Universe.text_color %> font-medium"><%= content.universe.name %></span>
universe
<%= image_tag content.universe.random_image_including_private, class: "#{Universe.color} w-full h-24 border border-purple-800 object-center object-cover rounded-md shadow hover:opacity-90" %>
<% end %>
<%= image_tag content.universe.random_image_including_private, class: "#{Universe.color} w-full h-24 border border-purple-800 object-center object-cover rounded-md shadow hover:opacity-90" %>
</div>
<% end %>

View File

@ -12,7 +12,7 @@
<i class="material-icons float-left <%= content.class_text_color %> mr-2"><%= category[:icon] %></i>
<%= category[:label] %>
</h3>
<% if category[:percent_complete].present? %>
<% if category[:percent_complete].present? && category[:percent_complete] > 10 %>
<div class="flex-1 bg-gray-200 rounded-full h-4 relative top-1.5"
x-show="showEditMode"
>