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;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
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>
|
<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 %}
|
||||||
|
|
Loading…
Reference in a new issue