[DEV] update display of group component

This commit is contained in:
Edouard DUPIN 2020-01-09 06:37:20 +01:00
parent c4f693035a
commit 26e40979b2
2 changed files with 37 additions and 1 deletions

View File

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

View File

@ -0,0 +1,26 @@
.imgContainer {
text-align: center;
width: 100%;
height: 180px;
}
img.miniature {
width: 80px;
height: 120px;
//border-radius: 50%;
}
.title {
height: 60px;
font-size: 24px;
overflow:hidden;
vertical-align: middle;
}
.description {
height: 30px;
font-size: 12px;
overflow:hidden;
vertical-align: middle;
}