diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/video/abstract-video-list.scss | 3 | ||||
-rw-r--r-- | client/src/app/shared/video/video-thumbnail.component.scss | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index 3fdfcefa0..63538a089 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss | |||
@@ -26,10 +26,11 @@ | |||
26 | 26 | ||
27 | /deep/ .video-thumbnail { | 27 | /deep/ .video-thumbnail { |
28 | width: 100%; | 28 | width: 100%; |
29 | height: auto; | ||
29 | 30 | ||
30 | img { | 31 | img { |
31 | height: auto; | ||
32 | width: 100%; | 32 | width: 100%; |
33 | height: auto; | ||
33 | } | 34 | } |
34 | } | 35 | } |
35 | } | 36 | } |
diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss index 4840a9e4f..c3cb1ec75 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss | |||
@@ -6,6 +6,9 @@ | |||
6 | position: relative; | 6 | position: relative; |
7 | border-radius: 4px; | 7 | border-radius: 4px; |
8 | overflow: hidden; | 8 | overflow: hidden; |
9 | width: $video-thumbnail-width; | ||
10 | height: $video-thumbnail-height; | ||
11 | background-color: #ececec; | ||
9 | 12 | ||
10 | &:hover { | 13 | &:hover { |
11 | text-decoration: none !important; | 14 | text-decoration: none !important; |