summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-17 11:57:29 -0500
committerOmar Roth <omarroth@hotmail.com>2019-03-17 12:21:55 -0500
commit956dc382eac90a07ab3714fdc7d5fccbb68908f2 (patch)
treed57e120ae7b9dd7ad1dfd5a3055f616d1145f766
parent99aa21485907fcde30c3b1a6c48c68451800d0b7 (diff)
downloadinvidious-956dc382eac90a07ab3714fdc7d5fccbb68908f2.tar.gz
invidious-956dc382eac90a07ab3714fdc7d5fccbb68908f2.tar.bz2
invidious-956dc382eac90a07ab3714fdc7d5fccbb68908f2.zip
Clean up player CSS
Diffstat (limited to '')
-rw-r--r--assets/css/default.css9
-rw-r--r--src/invidious/views/embed.ecr3
2 files changed, 1 insertions, 11 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 464efd4b..bd39a0e3 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -318,13 +318,6 @@ img.thumbnail {
object-fit: cover;
}
-#player {
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
-}
-
.player-dimensions.vjs-fluid {
padding-top: 82vh;
}
@@ -332,8 +325,6 @@ img.thumbnail {
#player-container {
position: relative;
padding-bottom: 82vh;
- margin-left: 1em;
- margin-right: 1em;
height: 0;
}
diff --git a/src/invidious/views/embed.ecr b/src/invidious/views/embed.ecr
index 8daf62a5..f32a6685 100644
--- a/src/invidious/views/embed.ecr
+++ b/src/invidious/views/embed.ecr
@@ -9,8 +9,7 @@
<link rel="stylesheet" href="/css/default.css">
<title><%= HTML.escape(video.title) %> - Invidious</title>
<style>
- video, #my_video, .video-js, .vjs-default-skin
- {
+ #player {
position: fixed;
right: 0;
bottom: 0;