mirror of https://github.com/Chocobozzz/PeerTube
Fix notification overflow
parent
00aa1f0d9b
commit
db714ab48a
|
@ -14,6 +14,7 @@
|
|||
font-size: inherit;
|
||||
padding: 15px 5px 15px 10px;
|
||||
border-bottom: 1px solid $separator-border-color;
|
||||
word-break: break-word;
|
||||
|
||||
&.unread {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
|
|
|
@ -66,7 +66,8 @@ describe('Test config API validators', function () {
|
|||
'360p': true,
|
||||
'480p': true,
|
||||
'720p': false,
|
||||
'1080p': false
|
||||
'1080p': false,
|
||||
'2160p': false
|
||||
},
|
||||
hls: {
|
||||
enabled: false
|
||||
|
|
|
@ -59,6 +59,7 @@ function checkInitialConfig (server: ServerInfo, data: CustomConfig) {
|
|||
expect(data.transcoding.resolutions['480p']).to.be.true
|
||||
expect(data.transcoding.resolutions['720p']).to.be.true
|
||||
expect(data.transcoding.resolutions['1080p']).to.be.true
|
||||
expect(data.transcoding.resolutions['2160p']).to.be.true
|
||||
expect(data.transcoding.hls.enabled).to.be.true
|
||||
|
||||
expect(data.import.videos.http.enabled).to.be.true
|
||||
|
@ -109,6 +110,7 @@ function checkUpdatedConfig (data: CustomConfig) {
|
|||
expect(data.transcoding.resolutions['480p']).to.be.true
|
||||
expect(data.transcoding.resolutions['720p']).to.be.false
|
||||
expect(data.transcoding.resolutions['1080p']).to.be.false
|
||||
expect(data.transcoding.resolutions['2160p']).to.be.false
|
||||
expect(data.transcoding.hls.enabled).to.be.false
|
||||
|
||||
expect(data.import.videos.http.enabled).to.be.false
|
||||
|
@ -227,7 +229,8 @@ describe('Test config', function () {
|
|||
'360p': true,
|
||||
'480p': true,
|
||||
'720p': false,
|
||||
'1080p': false
|
||||
'1080p': false,
|
||||
'2160p': false
|
||||
},
|
||||
hls: {
|
||||
enabled: false
|
||||
|
|
|
@ -98,7 +98,8 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) {
|
|||
'360p': true,
|
||||
'480p': true,
|
||||
'720p': false,
|
||||
'1080p': false
|
||||
'1080p': false,
|
||||
'2160p': false
|
||||
},
|
||||
hls: {
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in New Issue