aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-notifications
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-account/my-account-notifications')
-rw-r--r--client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html2
-rw-r--r--client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss34
2 files changed, 34 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
index 8de152b5e..a60ed885d 100644
--- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
+++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
@@ -5,7 +5,7 @@
5 Notification preferences 5 Notification preferences
6 </a> 6 </a>
7 7
8 <div class="peertube-select-container peertube-select-button ml-2"> 8 <div class="peertube-select-container peertube-select-button ml-2 mr-2">
9 <select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control"> 9 <select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control">
10 <option value="undefined" disabled>Sort by</option> 10 <option value="undefined" disabled>Sort by</option>
11 <option value="createdAt" i18n>Newest first</option> 11 <option value="createdAt" i18n>Newest first</option>
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
index d586eeb0d..035fa2b27 100644
--- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
+++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
@@ -32,8 +32,40 @@ my-user-notifications {
32 .header { 32 .header {
33 flex-direction: column; 33 flex-direction: column;
34 34
35 & >:first-child { 35 & >:first-child, .peertube-select-container {
36 margin-bottom: 15px; 36 margin-bottom: 15px;
37 } 37 }
38
39 .peertube-select-container {
40 margin-left: 0 !important;
41 }
42 }
43}
44
45@media screen and (min-width: $mobile-view) and (max-width: $small-view) {
46 .header {
47 a {
48 font-size: 0;
49 padding: 0 13px;
50 }
51
52 .peertube-select-container {
53 width: auto !important;
54 }
55 }
56}
57
58@media screen and (min-width: $mobile-view) and (max-width: #{$small-view + $menu-width}) {
59 :host-context(.main-col:not(.expanded)) {
60 .header {
61 a {
62 font-size: 0;
63 padding: 0 13px;
64 }
65
66 .peertube-select-container {
67 width: auto !important;
68 }
69 }
38 } 70 }
39} 71}