mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
minor ui polish
This commit is contained in:
parent
9da0ed3677
commit
6428fa713f
@ -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 %>
|
||||
|
||||
|
||||
@ -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"
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user