Update category list css
This commit is contained in:
parent
1acf27cac2
commit
df49afb5a4
2 changed files with 28 additions and 20 deletions
|
@ -38,3 +38,11 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
ul#categories {
|
||||
list-style-type: "– ";
|
||||
}
|
||||
#categories ul {
|
||||
list-style-type: "↳ ";
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<a href="{% url 'transaction' %}">Add transaction</a>
|
||||
|
||||
{% if transactions %}
|
||||
<div id="transactions">
|
||||
<div id="transactions">
|
||||
<div class="header">
|
||||
<strong class="date">Date</strong>
|
||||
<strong class="name">Nom</strong>
|
||||
|
@ -32,11 +32,11 @@
|
|||
<span class="description text">{{ trans.description }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if categories %}
|
||||
<ul>
|
||||
<ul id="categories">
|
||||
{{ categories|unordered_list }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue