[DEV] update display of video element component

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

View File

@ -1,10 +1,13 @@
<div>
{{name}}<br/>
<!--<div [disabled]="display_video=='false' ? true : null">
aaa sdfsdfsdfsdf aaa
<div class="imgContainer">
<div *ngIf="imageSource">
<img src="{{imageSource}}" alt="type image" class="miniature"/>
</div>
</div>
-->
<div *ngIf="video_enable">
<div class="title">
{{name}}
</div>
<div class="description" *ngIf="description">
{{description}}
</div>
</div>

View File

@ -1,3 +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;
}