aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-15 09:43:23 +0200
committerChocobozzz <me@florianbigard.com>2019-04-15 09:43:23 +0200
commit28e0e40d2b301f109a4dd20a5be1f0b58e8201ad (patch)
treefbaaf3d2de16d14c61a4d746de9326ca3a9b71c6 /client/src/app
parentf3d2e6d0826e39611a5fba91677fe56c93c83d90 (diff)
downloadPeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.gz
PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.zst
PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.zip
Fix privacy warning position on mobile
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/system/logs/logs.component.scss1
-rw-r--r--client/src/app/+admin/system/logs/logs.component.ts2
-rw-r--r--client/src/app/shared/images/global-icon.component.ts5
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss4
4 files changed, 8 insertions, 4 deletions
diff --git a/client/src/app/+admin/system/logs/logs.component.scss b/client/src/app/+admin/system/logs/logs.component.scss
index ab00fb5ae..7ad2e853c 100644
--- a/client/src/app/+admin/system/logs/logs.component.scss
+++ b/client/src/app/+admin/system/logs/logs.component.scss
@@ -11,6 +11,7 @@
11 11
12 .log-row { 12 .log-row {
13 margin-top: 1px; 13 margin-top: 1px;
14 word-break: break-word;
14 15
15 &:hover { 16 &:hover {
16 background: rgba(0, 0, 0, 0.07); 17 background: rgba(0, 0, 0, 0.07);
diff --git a/client/src/app/+admin/system/logs/logs.component.ts b/client/src/app/+admin/system/logs/logs.component.ts
index 17abb8409..1a3508a3b 100644
--- a/client/src/app/+admin/system/logs/logs.component.ts
+++ b/client/src/app/+admin/system/logs/logs.component.ts
@@ -106,6 +106,6 @@ export class LogsComponent implements OnInit {
106 } 106 }
107 ] 107 ]
108 108
109 this.level = 'info' 109 this.level = 'warn'
110 } 110 }
111} 111}
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts
index 03cf3d7ae..5a3db4531 100644
--- a/client/src/app/shared/images/global-icon.component.ts
+++ b/client/src/app/shared/images/global-icon.component.ts
@@ -1,4 +1,4 @@
1import { Component, ElementRef, Input, OnInit } from '@angular/core' 1import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core'
2 2
3const icons = { 3const icons = {
4 'add': require('../../../assets/images/global/add.html'), 4 'add': require('../../../assets/images/global/add.html'),
@@ -53,7 +53,8 @@ export type GlobalIconName = keyof typeof icons
53@Component({ 53@Component({
54 selector: 'my-global-icon', 54 selector: 'my-global-icon',
55 template: '', 55 template: '',
56 styleUrls: [ './global-icon.component.scss' ] 56 styleUrls: [ './global-icon.component.scss' ],
57 changeDetection: ChangeDetectionStrategy.OnPush
57}) 58})
58export class GlobalIconComponent implements OnInit { 59export class GlobalIconComponent implements OnInit {
59 @Input() iconName: GlobalIconName 60 @Input() iconName: GlobalIconName
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index de932c99d..d8113b666 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -432,13 +432,14 @@ my-video-comments {
432 432
433@media screen and (max-width: $small-view) { 433@media screen and (max-width: $small-view) {
434 .privacy-concerns { 434 .privacy-concerns {
435 margin-left: $menu-width; 435 margin-left: $menu-width - 15px; // Menu is absolute
436 } 436 }
437} 437}
438 438
439:host-context(.expanded) { 439:host-context(.expanded) {
440 .privacy-concerns { 440 .privacy-concerns {
441 width: 100%; 441 width: 100%;
442 margin-left: -15px;
442 } 443 }
443} 444}
444 445
@@ -449,6 +450,7 @@ my-video-comments {
449 padding: 5px 15px; 450 padding: 5px 15px;
450 451
451 display: flex; 452 display: flex;
453 flex-wrap: nowrap;
452 align-items: center; 454 align-items: center;
453 justify-content: flex-start; 455 justify-content: flex-start;
454 background-color: rgba(0, 0, 0, 0.9); 456 background-color: rgba(0, 0, 0, 0.9);