summaryrefslogtreecommitdiffstats
path: root/webapp/sass
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-05-20 12:55:52 -0300
committerChristopher Speller <crspeller@gmail.com>2016-05-20 11:55:52 -0400
commited2e37394e0bdbd20791c759e033bcb3e6cc4d2c (patch)
treec767b8623658cd47ab5fabc7cef133c73717be84 /webapp/sass
parent2a137e97c430312f87500a7ccbfa8de3702c3920 (diff)
downloadchat-ed2e37394e0bdbd20791c759e033bcb3e6cc4d2c.tar.gz
chat-ed2e37394e0bdbd20791c759e033bcb3e6cc4d2c.tar.bz2
chat-ed2e37394e0bdbd20791c759e033bcb3e6cc4d2c.zip
PLT 783 Fix Previews for removed YouTube videos (#3073)
* PLT-783 Fix Previews for removed YouTube videos render incorrectly and throw a 404 * Updating video poster for video not found (#3072)
Diffstat (limited to 'webapp/sass')
-rw-r--r--webapp/sass/components/_videos.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/webapp/sass/components/_videos.scss b/webapp/sass/components/_videos.scss
index e009e6538..b2230f71d 100644
--- a/webapp/sass/components/_videos.scss
+++ b/webapp/sass/components/_videos.scss
@@ -10,6 +10,22 @@
max-width: 100%;
}
+ .video-thumbnail__error {
+ height: 100%;
+ line-height: 2;
+ padding: 110px 0;
+ text-align: center;
+ width: 100%;
+
+ .fa {
+ @include opacity(.5);
+ }
+
+ div {
+ font-size: 1.2em;
+ }
+ }
+
.block {
background-color: alpha-color($black, .5);
border-radius: 10px;
@@ -67,3 +83,7 @@
height: 500px;
}
}
+
+.video-loading {
+ height: 360px;
+} \ No newline at end of file