mirror of https://github.com/Chocobozzz/PeerTube
Circle avatar
parent
e8e122002d
commit
4e8c872874
|
@ -6,6 +6,7 @@
|
|||
|
||||
img {
|
||||
@include avatar(50px);
|
||||
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@ menu {
|
|||
margin-bottom: 35px;
|
||||
|
||||
img {
|
||||
@include avatar(34px);
|
||||
|
||||
margin-left: 20px;
|
||||
margin-right: 10px;
|
||||
|
||||
@include avatar(34px);
|
||||
}
|
||||
|
||||
.logged-in-info {
|
||||
|
|
|
@ -110,11 +110,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin avatar ($size) {
|
||||
width: $size;
|
||||
height: $size;
|
||||
}
|
||||
|
||||
@mixin icon ($size) {
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
|
@ -125,7 +120,6 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
@mixin peertube-select-container ($width) {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -267,3 +261,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@mixin avatar ($size) {
|
||||
object-fit: cover;
|
||||
border-radius:50%;
|
||||
width: $size;
|
||||
height: $size;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import { extname, join } from 'path'
|
|||
import * as sharp from 'sharp'
|
||||
import * as uuidv4 from 'uuid/v4'
|
||||
import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared'
|
||||
import { renamePromise, unlinkPromise } from '../../helpers/core-utils'
|
||||
import { unlinkPromise } from '../../helpers/core-utils'
|
||||
import { retryTransactionWrapper } from '../../helpers/database-utils'
|
||||
import { logger } from '../../helpers/logger'
|
||||
import { createReqFiles, getFormattedObjects } from '../../helpers/utils'
|
||||
|
|
|
@ -65,6 +65,7 @@ async function updateRemoteVideo (actor: ActorModel, activity: ActivityUpdate) {
|
|||
videoInstance.set('licence', videoData.licence)
|
||||
videoInstance.set('language', videoData.language)
|
||||
videoInstance.set('nsfw', videoData.nsfw)
|
||||
videoInstance.set('commentsEnabled', videoData.commentsEnabled)
|
||||
videoInstance.set('privacy', videoData.privacy)
|
||||
videoInstance.set('description', videoData.description)
|
||||
videoInstance.set('duration', videoData.duration)
|
||||
|
|
Loading…
Reference in New Issue