aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-17 11:20:24 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 10:14:22 +0100
commit3f9c4955af81702591a6eeb2069f99faf0d2814d (patch)
tree8f23b5e79bde4a46dbc2318c0500576c35712486 /client/src/standalone/videos/embed.scss
parentf88ee4a9523bf3c4a61a45832963c558aed4d0b1 (diff)
downloadPeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.tar.gz
PeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.tar.zst
PeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.zip
Speedup embed first paint
Diffstat (limited to 'client/src/standalone/videos/embed.scss')
-rw-r--r--client/src/standalone/videos/embed.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/standalone/videos/embed.scss b/client/src/standalone/videos/embed.scss
index c40ea1208..95573dabe 100644
--- a/client/src/standalone/videos/embed.scss
+++ b/client/src/standalone/videos/embed.scss
@@ -79,6 +79,16 @@ html, body {
79 } 79 }
80} 80}
81 81
82#placeholder-preview {
83 position: absolute;
84 top: 0;
85 left: 0;
86 background-size: 100% auto;
87 width: 100%;
88 height: 100%;
89 background-position: 50% 50%;
90}
91
82@media screen and (max-width: 300px) { 92@media screen and (max-width: 300px) {
83 #error-block { 93 #error-block {
84 font-size: 36px; 94 font-size: 36px;