Fix playlist overflow in account channels page

pull/5378/head
Chocobozzz 2022-10-25 16:00:34 +02:00
parent 216fa9d579
commit 52ebda26f6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 15 additions and 10 deletions

View File

@ -37,6 +37,7 @@
<a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a> <a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a>
<div class="videos-overflow-workaround">
<div class="videos"> <div class="videos">
<div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div> <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div>
@ -52,3 +53,4 @@
</div> </div>
</div> </div>
</div> </div>
</div>

View File

@ -77,10 +77,8 @@ my-subscribe-button {
display: flex; display: flex;
grid-column: 1 / 3; grid-column: 1 / 3;
grid-row: 2; grid-row: 2;
margin-top: 30px;
position: relative; position: relative;
overflow: hidden;
my-video-miniature { my-video-miniature {
@include margin-right(15px); @include margin-right(15px);
@ -94,6 +92,11 @@ my-subscribe-button {
} }
} }
.videos-overflow-workaround {
margin-top: 30px;
overflow-x: hidden;
}
.miniature-show-channel { .miniature-show-channel {
height: 100%; height: 100%;
position: absolute; position: absolute;