[DEV] update display of video element component
This commit is contained in:
parent
57417d3805
commit
a35f6bfc10
@ -1,10 +1,13 @@
|
|||||||
<div>
|
<div>
|
||||||
{{name}}<br/>
|
<div class="imgContainer">
|
||||||
|
<div *ngIf="imageSource">
|
||||||
<!--<div [disabled]="display_video=='false' ? true : null">
|
<img src="{{imageSource}}" alt="type image" class="miniature"/>
|
||||||
aaa sdfsdfsdfsdf aaa
|
</div>
|
||||||
</div>
|
</div>
|
||||||
-->
|
<div class="title">
|
||||||
<div *ngIf="video_enable">
|
{{name}}
|
||||||
|
</div>
|
||||||
|
<div class="description" *ngIf="description">
|
||||||
|
{{description}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user