diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-15 09:43:23 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-15 09:43:23 +0200 |
commit | 28e0e40d2b301f109a4dd20a5be1f0b58e8201ad (patch) | |
tree | fbaaf3d2de16d14c61a4d746de9326ca3a9b71c6 /client/src/app/videos | |
parent | f3d2e6d0826e39611a5fba91677fe56c93c83d90 (diff) | |
download | PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.gz PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.tar.zst PeerTube-28e0e40d2b301f109a4dd20a5be1f0b58e8201ad.zip |
Fix privacy warning position on mobile
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.scss | 4 |
1 files changed, 3 insertions, 1 deletions
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); |