-<div *ngIf="account" class="row">
- <div class="block col-md-6 col-sm-12">
- <div i18n class="small-title">DESCRIPTION</div>
- <div class="content" [innerHtml]="getAccountDescription()"></div>
+<div class="margin-content">
+ <div *ngIf="account" class="row no-gutters">
+ <div class="block col-md-6 col-sm-12 pr-2">
+ <div i18n class="small-title">DESCRIPTION</div>
+ <div class="content" [innerHtml]="getAccountDescription()"></div>
+ </div>
+
+ <div class="block col-md-6 col-sm-12">
+ <div i18n class="small-title">STATS</div>
+
+ <div i18n class="content">Joined {{ account.createdAt | date }}</div>
+ </div>
</div>
-
- <div class="block col-md-6 col-sm-12">
- <div i18n class="small-title">STATS</div>
-
- <div i18n class="content">Joined {{ account.createdAt | date }}</div>
- </div>
-</div>
\ No newline at end of file
+</div>
}
}
+.margin-content {
+ // margin-content is required, but child views have their own margins
+ // that match views outside the scope of accounts, so we only align
+ // them with the margins of .sub-menu when required.
+ margin: 0;
+}
+
.right-buttons {
display: flex;
height: max-content;
-<div *ngIf="videoChannel" class="row">
- <div class="description col-md-6 col-sm-12">
- <div class="block">
- <div i18n class="small-title">DESCRIPTION</div>
- <div class="content" [innerHtml]="getVideoChannelDescription()"></div>
+<div class="margin-content">
+ <div *ngIf="videoChannel" class="row no-gutters">
+ <div class="description col-md-6 col-sm-12 pr-2">
+ <div class="block">
+ <div i18n class="small-title">DESCRIPTION</div>
+ <div class="content" [innerHtml]="getVideoChannelDescription()"></div>
+ </div>
+
+ <div class="block" *ngIf="supportHTML">
+ <div i18n class="small-title">SUPPORT THIS CHANNEL</div>
+ <div class="content" [innerHtml]="supportHTML"></div>
+ </div>
</div>
-
- <div class="block" *ngIf="supportHTML">
- <div i18n class="small-title">SUPPORT THIS CHANNEL</div>
- <div class="content" [innerHtml]="supportHTML"></div>
+
+ <div class="stats col-md-6 col-sm-12">
+ <div class="block">
+ <div i18n class="small-title">STATS</div>
+ <div i18n class="content">Created {{ videoChannel.createdAt | date }}</div>
+ </div>
</div>
</div>
-
- <div class="stats col-md-6 col-sm-12">
- <div class="block">
- <div i18n class="small-title">STATS</div>
- <div i18n class="content">Created {{ videoChannel.createdAt | date }}</div>
- </div>
- </div>
-</div>
\ No newline at end of file
+</div>
-<div i18n class="title-page title-page-single">
- Created {{ pagination.totalItems }} playlists
-</div>
+<div class="margin-content">
+ <div i18n class="title-page title-page-single">
+ Created {{ pagination.totalItems }} playlists
+ </div>
-<div i18n class="no-results" *ngIf="pagination.totalItems === 0">This channel does not have playlists.</div>
+ <div i18n class="no-results" *ngIf="pagination.totalItems === 0">This channel does not have playlists.</div>
-<div class="video-playlist" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
- <div *ngFor="let playlist of videoPlaylists" class="playlist-miniature-container">
- <my-video-playlist-miniature [playlist]="playlist" [toManage]="false"></my-video-playlist-miniature>
+ <div class="video-playlist" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
+ <div *ngFor="let playlist of videoPlaylists" class="playlist-miniature-container">
+ <my-video-playlist-miniature [playlist]="playlist" [toManage]="false"></my-video-playlist-miniature>
+ </div>
</div>
</div>
+.title-page {
+ margin-top: 0;
+}
+
.video-playlist {
display: flex;
flex-wrap: wrap;
}
}
+.margin-content {
+ // margin-content is required, but child views have their own margins
+ // that match views outside the scope of accounts, so we only align
+ // them with the margins of .sub-menu when required.
+ margin: 0;
+}
+
.right-buttons {
display: flex;
height: max-content;
}
@mixin fluid-videos-miniature-layout {
- margin-left: 3vw !important;
- margin-right: 3vw !important;
+ margin-left: $not-expanded-horizontal-margins !important;
+ margin-right: $not-expanded-horizontal-margins !important;
@media screen and (max-width: $mobile-view) {
width: auto;