diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-08-03 13:55:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-03 16:52:40 +0200 |
commit | d607fc24631808fc70ce9fb8ddc323d8f856f8ed (patch) | |
tree | 706429e5e375f3ec6bedf9b6369e90fa117b2eac /client/src/app/+my-account/my-account-subscriptions | |
parent | b12ce2b8511039968faabe5a9eeee60ab36521eb (diff) | |
download | PeerTube-d607fc24631808fc70ce9fb8ddc323d8f856f8ed.tar.gz PeerTube-d607fc24631808fc70ce9fb8ddc323d8f856f8ed.tar.zst PeerTube-d607fc24631808fc70ce9fb8ddc323d8f856f8ed.zip |
Fix regressions sub-menu titles on mobile-view
Diffstat (limited to 'client/src/app/+my-account/my-account-subscriptions')
2 files changed, 20 insertions, 7 deletions
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html index 6cec7c0d5..6ab3826ba 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html | |||
@@ -1,16 +1,19 @@ | |||
1 | <h1 class="d-flex justify-content-between"> | 1 | <h1> |
2 | <span> | 2 | <span> |
3 | <my-global-icon iconName="subscriptions" aria-hidden="true"></my-global-icon> | 3 | <my-global-icon iconName="subscriptions" aria-hidden="true"></my-global-icon> |
4 | <ng-container i18n>My subscriptions</ng-container> | 4 | <ng-container i18n>My subscriptions</ng-container> |
5 | <span class="badge badge-secondary"> {{ pagination.totalItems }}</span> | 5 | <span class="badge badge-secondary"> {{ pagination.totalItems }}</span> |
6 | </span> | 6 | </span> |
7 | </h1> | ||
7 | 8 | ||
9 | <div class="video-subscriptions-header d-flex justify-content-between"> | ||
8 | <div class="has-feedback has-clear"> | 10 | <div class="has-feedback has-clear"> |
9 | <input type="text" placeholder="Search your subscriptions" i18n-placeholder [(ngModel)]="subscriptionsSearch" (ngModelChange)="onSubscriptionsSearchChanged()" /> | 11 | <input type="text" placeholder="Search your subscriptions" i18n-placeholder [(ngModel)]="subscriptionsSearch" |
12 | (ngModelChange)="onSubscriptionsSearchChanged()" /> | ||
10 | <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a> | 13 | <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a> |
11 | <span class="sr-only" i18n>Clear filters</span> | 14 | <span class="sr-only" i18n>Clear filters</span> |
12 | </div> | 15 | </div> |
13 | </h1> | 16 | </div> |
14 | 17 | ||
15 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div> | 18 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div> |
16 | 19 | ||
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss index 884959070..5ead45dd8 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss | |||
@@ -45,11 +45,11 @@ input[type=text] { | |||
45 | } | 45 | } |
46 | } | 46 | } |
47 | 47 | ||
48 | @media screen and (max-width: $small-view) { | 48 | .video-subscriptions-header { |
49 | .video-channels-header { | 49 | margin-bottom: 30px; |
50 | text-align: center; | 50 | } |
51 | } | ||
52 | 51 | ||
52 | @media screen and (max-width: $small-view) { | ||
53 | .video-channel { | 53 | .video-channel { |
54 | .video-channel-info { | 54 | .video-channel-info { |
55 | padding-bottom: 10px; | 55 | padding-bottom: 10px; |
@@ -68,4 +68,14 @@ input[type=text] { | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | @media screen and (max-width: $mobile-view) { | ||
72 | .video-subscriptions-header { | ||
73 | flex-direction: column; | ||
74 | |||
75 | input[type=text] { | ||
76 | width: 100% !important; | ||
77 | } | ||
78 | } | ||
79 | } | ||
80 | |||
71 | 81 | ||