diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html b/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html index d847daff7..9db3018e6 100644 --- a/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-description.component.html | |||
@@ -6,14 +6,20 @@ | |||
6 | myTimestampRouteTransformer | 6 | myTimestampRouteTransformer |
7 | ></div> | 7 | ></div> |
8 | 8 | ||
9 | <div class="video-info-description-more" *ngIf="completeDescriptionShown === false && video.description?.length >= 250" (click)="showMoreDescription()"> | 9 | <button |
10 | *ngIf="completeDescriptionShown === false && video.description?.length >= 250" | ||
11 | (click)="showMoreDescription()" class="video-info-description-more button-unstyle" | ||
12 | > | ||
10 | <ng-container i18n>Show more</ng-container> | 13 | <ng-container i18n>Show more</ng-container> |
11 | <span *ngIf="descriptionLoading === false" class="chevron-down"></span> | 14 | <span *ngIf="descriptionLoading === false" class="chevron-down"></span> |
12 | <my-loader size="sm" class="description-loading" [loading]="descriptionLoading"></my-loader> | 15 | <my-loader size="sm" class="description-loading" [loading]="descriptionLoading"></my-loader> |
13 | </div> | 16 | </button> |
14 | 17 | ||
15 | <div *ngIf="completeDescriptionShown === true" (click)="showLessDescription()" class="video-info-description-more"> | 18 | <button |
19 | *ngIf="completeDescriptionShown === true" | ||
20 | (click)="showLessDescription()" class="video-info-description-more button-unstyle" | ||
21 | > | ||
16 | <ng-container i18n>Show less</ng-container> | 22 | <ng-container i18n>Show less</ng-container> |
17 | <span *ngIf="descriptionLoading === false" class="chevron-up"></span> | 23 | <span *ngIf="descriptionLoading === false" class="chevron-up"></span> |
18 | </div> | 24 | </button> |
19 | </div> | 25 | </div> |