Card style fixes

This commit is contained in:
2018-09-18 12:53:34 +02:00
parent 3e1273d56c
commit 45672565e9
2 changed files with 21 additions and 11 deletions

View File

@@ -15,14 +15,15 @@ a.card.asset.card-image-fade.pr-0.mx-0.mb-2(
i(class="pi-{{ node_type }}")
| {% endif %}
.card-body.py-2.d-flex.flex-column
.card-title.mb-1.font-weight-bold
| {{ asset.name }}
.card-body.py-2.d-flex.flex-column.text-truncate
.card-title.mb-1.font-weight-bold.text-truncate
| {{ asset.name | hide_none }}
ul.card-text.list-unstyled.d-flex.text-black-50.mt-auto.mb-0
li.pr-2.font-weight-bold {{ node_type | undertitle }}
li.pr-2 {{ asset.user.full_name }}
li {{ asset._created | pretty_date }}
ul.card-text.list-unstyled.d-flex.text-black-50.mt-auto.mb-0.text-truncate
li.pr-2.font-weight-bold {{ node_type | undertitle | hide_none }}
li.pr-2.text-truncate {{ asset.project.name | hide_none }}
li.pr-2.text-truncate {{ asset.user.full_name | hide_none }}
li.text-truncate {{ asset._created | pretty_date | hide_none }}
| {% if asset.properties.content_type == 'video' %}