[DEV] update display of type element component

This commit is contained in:
Edouard DUPIN 2020-01-09 06:38:15 +01:00
parent 6aaa2814c7
commit 57417d3805
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,8 @@
<div>
<div class="imgContainer" *ngIf="imageSource">
<img src="{{imageSource}}" alt="type image" class="miniature"/>
<div class="imgContainer">
<div *ngIf="imageSource">
<img src="{{imageSource}}" alt="type image" class="miniature"/>
</div>
</div>
<div class="title">
{{name}}

View File

@ -13,9 +13,15 @@ img.miniature {
}
.title {
height: 60px;
font-size: 24px;
overflow:hidden;
vertical-align: middle;
}
.description {
height: 30px;
font-size: 12px;
overflow:hidden;
vertical-align: middle;
}