Skip to content

Commit

Permalink
adapt notifications buttons for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelk committed Jul 24, 2020
1 parent 60979b7 commit 9d756c8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1 class="sr-only" i18n>Notifications</h1>
Notification preferences
</a>

<div class="peertube-select-container peertube-select-button ml-2">
<div class="peertube-select-container peertube-select-button ml-2 mr-2">
<select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control">
<option value="undefined" disabled>Sort by</option>
<option value="createdAt" i18n>Newest first</option>
Expand Down
2 changes: 1 addition & 1 deletion client/src/sass/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ table {
input[type=email],
textarea,
.peertube-select-container {
width: 100% !important;
flex-grow: 1;
}

.caption input[type=text] {
Expand Down
7 changes: 6 additions & 1 deletion server/controllers/api/users/my-subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import {
userSubscriptionAddValidator,
userSubscriptionGetValidator
} from '../../../middlewares'
import { areSubscriptionsExistValidator, userSubscriptionsSortValidator, videosSortValidator, userSubscriptionListValidator } from '../../../middlewares/validators'
import {
areSubscriptionsExistValidator,
userSubscriptionsSortValidator,
videosSortValidator,
userSubscriptionListValidator
} from '../../../middlewares/validators'
import { VideoModel } from '../../../models/video/video'
import { buildNSFWFilter, getCountVideos } from '../../../helpers/express-utils'
import { VideoFilter } from '../../../../shared/models/videos/video-query.type'
Expand Down
3 changes: 1 addition & 2 deletions server/models/activitypub/actor-follow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {
Max,
Model,
Table,
UpdatedAt,
Sequelize
UpdatedAt
} from 'sequelize-typescript'
import { FollowState } from '../../../shared/models/actors'
import { ActorFollow } from '../../../shared/models/actors/follow.model'
Expand Down

0 comments on commit 9d756c8

Please sign in to comment.