-<div>
+<div class="video-playlists-header">
<h4 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
-</div>
-<div class="video-playlists-header">
<input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" />
<a class="create-button" routerLink="create">
.video-playlists-header {
display: flex;
justify-content: space-between;
- text-align: right;
margin: 20px 0 50px;
input[type=text] {
-<div>
+<div class="videos-header">
<h4 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
-</div>
-<div class="videos-header">
<input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
+
+ <div class="fake-element"></div>
</div>
<my-videos-selection
.videos-header {
display: flex;
justify-content: space-between;
- text-align: right;
margin: 20px 0 50px;
+ h4,
+ .fake-element {
+ flex: 1;
+ }
+
input[type=text] {
@include peertube-input-text(300px);
}