Styling for action icons
This commit is contained in:
parent
3ca926afac
commit
a13a977206
3 changed files with 6 additions and 2 deletions
|
@ -259,3 +259,7 @@ table.list tbody td {
|
|||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
.right {
|
||||
text-align: right;
|
||||
}
|
|
@ -123,7 +123,7 @@
|
|||
{% for item in items %}
|
||||
<tr>
|
||||
<td><a href="{% url 'item-detail' item.id %}">{{ item.name }}</a></td>
|
||||
<td>
|
||||
<td class="right">
|
||||
{% if item.documentation.all %}
|
||||
<a class="datasheet" href="{{ item.documentation.all.0.file.url }}"><img class="icon" src="{% static "inventory/img/datasheet.svg" %}"></a>
|
||||
{% endif %}
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
{% for item in items %}
|
||||
<tr>
|
||||
<td><a href="{% url 'item-detail' item.id %}">{{ item.name }}</a></td>
|
||||
<td>
|
||||
<td class="right">
|
||||
{% if item.documentation.all %}
|
||||
<a class="datasheet" href="{{ item.documentation.all.0.file.url }}"><img class="icon" src="{% static "inventory/img/datasheet.svg" %}"></a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue