Update category list css

This commit is contained in:
Edgar P. Burkhart 2022-05-20 18:39:50 +02:00
parent 1acf27cac2
commit df49afb5a4
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 28 additions and 20 deletions

View file

@ -38,3 +38,11 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
ul#categories {
list-style-type: " ";
}
#categories ul {
list-style-type: "↳ ";
padding-left: 1.5em;
}

View file

@ -13,7 +13,7 @@
<a href="{% url 'transaction' %}">Add transaction</a> <a href="{% url 'transaction' %}">Add transaction</a>
{% if transactions %} {% if transactions %}
<div id="transactions"> <div id="transactions">
<div class="header"> <div class="header">
<strong class="date">Date</strong> <strong class="date">Date</strong>
<strong class="name">Nom</strong> <strong class="name">Nom</strong>
@ -32,11 +32,11 @@
<span class="description text">{{ trans.description }}</span> <span class="description text">{{ trans.description }}</span>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
{% if categories %} {% if categories %}
<ul> <ul id="categories">
{{ categories|unordered_list }} {{ categories|unordered_list }}
</ul> </ul>
{% endif %} {% endif %}