Skip to content

Commit

Permalink
fix: improved boolean visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Jul 2, 2023
1 parent 1a853d7 commit afae153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/unfold/static/unfold/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/helpers/boolean.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load i18n %}

<div class="flex items-center ">
<div class="block mr-3 rounded-full h-1 w-1 {% if value == '' or value == None %}bg-gray-500{% elif value %}bg-green-500{% else %}bg-red-500{% endif %}"></div>
<div class="block mr-3 outline rounded-full h-1 w-1 {% if value == '' or value == None %}bg-gray-500 outline-gray-500/20{% elif value %}bg-green-500 outline-green-200 dark:outline-green-500/20{% else %}bg-red-500 outline-red-200 dark:outline-red-500/20{% endif %}"></div>

<span>
{% if value == '' or value == None %}
Expand Down

0 comments on commit afae153

Please sign in to comment.