></my-video-actions-dropdown>
</div>
- <div
- class="video-info-likes-dislikes-bar"
- *ngIf="video.likes !== 0 || video.dislikes !== 0"
- [ngbTooltip]="likesBarTooltipText"
- placement="bottom"
- >
- <div class="likes-bar" [ngStyle]="{ 'width.%': video.likesPercent }"></div>
+ <div class="video-info-likes-dislikes-bar-outerContainer">
+ <div
+ class="video-info-likes-dislikes-bar-innerContainer"
+ *ngIf="video.likes !== 0 || video.dislikes !== 0"
+ [ngbTooltip]="likesBarTooltipText"
+ placement="bottom"
+ >
+ <div
+ class="video-info-likes-dislikes-bar"
+ >
+ <div class="likes-bar" [ngStyle]="{ 'width.%': video.likesPercent }"></div>
+ </div>
+ </div>
</div>
</div>
.video-actions-rates {
margin: 0 0 10px 0;
align-items: start;
+ align-self: end;
width: max-content;
.video-actions {
}
}
+ .video-info-likes-dislikes-bar-outerContainer {
+ position: relative;
+ }
+
+ .video-info-likes-dislikes-bar-innerContainer {
+ position: absolute;
+ height: 30px;
+ }
+
.video-info-likes-dislikes-bar {
$likes-bar-height: 2px;
height: $likes-bar-height;