Center search fields (my videos/playlists)
This commit is contained in:
parent
9b82d49da8
commit
7c1f3e7366
|
@ -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">
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
.video-playlists-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
text-align: right;
|
||||
margin: 20px 0 50px;
|
||||
|
||||
input[type=text] {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue