diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 10:21:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-11 10:21:45 +0200 |
commit | 2b3f1919fda81c2781ceeb9071d426c184e1b21c (patch) | |
tree | ab072068598ca96b5766535d4aae43b14e380cd7 /client/src/app/shared/video | |
parent | 2c22613c2fe6f7f9c8c7de66e42be54b27cc7edd (diff) | |
download | PeerTube-2b3f1919fda81c2781ceeb9071d426c184e1b21c.tar.gz PeerTube-2b3f1919fda81c2781ceeb9071d426c184e1b21c.tar.zst PeerTube-2b3f1919fda81c2781ceeb9071d426c184e1b21c.zip |
Fix videos list margin with hidden menu
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r-- | client/src/app/shared/video/abstract-video-list.scss | 2 | ||||
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.scss | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index a1d9168de..9d481d6e4 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | .margin-content { | 27 | .margin-content { |
28 | width: $video-miniature-width * 6; | 28 | width: $video-miniature-width * 6; |
29 | margin: auto; | 29 | margin: auto !important; |
30 | 30 | ||
31 | @media screen and (max-width: 1800px) { | 31 | @media screen and (max-width: 1800px) { |
32 | width: $video-miniature-width * 5; | 32 | width: $video-miniature-width * 5; |
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index 80d6c4fda..6e173af99 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss | |||
@@ -64,16 +64,16 @@ | |||
64 | margin-right: 10px; | 64 | margin-right: 10px; |
65 | 65 | ||
66 | /deep/ .dropdown-root:not(.show) { | 66 | /deep/ .dropdown-root:not(.show) { |
67 | display: none; | 67 | opacity: 0; |
68 | } | 68 | } |
69 | 69 | ||
70 | /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { | 70 | /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { |
71 | display: block; | 71 | opacity: 1; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | &:hover .video-actions /deep/ .dropdown-root { | 75 | &:hover .video-actions /deep/ .dropdown-root { |
76 | display: block; | 76 | opacity: 1; |
77 | } | 77 | } |
78 | 78 | ||
79 | @media screen and (max-width: $small-view) { | 79 | @media screen and (max-width: $small-view) { |