Center search fields (my videos/playlists)

This commit is contained in:
Chocobozzz 2020-01-21 11:43:41 +01:00
parent 9b82d49da8
commit 7c1f3e7366
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 11 additions and 10 deletions

View File

@ -1,8 +1,6 @@
<div>
<h4 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
</div>
<div class="video-playlists-header">
<h4 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
<input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" />
<a class="create-button" routerLink="create">

View File

@ -36,7 +36,6 @@
.video-playlists-header {
display: flex;
justify-content: space-between;
text-align: right;
margin: 20px 0 50px;
input[type=text] {

View File

@ -1,9 +1,9 @@
<div>
<h4 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
</div>
<div class="videos-header">
<h4 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
<input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
<div class="fake-element"></div>
</div>
<my-videos-selection

View File

@ -4,9 +4,13 @@
.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);
}