[DEV] update display of type element component
This commit is contained in:
parent
6aaa2814c7
commit
57417d3805
@ -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}}
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user