aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-24 17:55:14 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-24 17:55:14 -0700
commit3d911e4987ef9768702729e60d51cb872700a716 (patch)
treea952b86463b7717de7d4b36b2991e3068ad8df49 /youtube/templates
parentcb5f36581d74c22b6a0705dedf6acf40b6e052db (diff)
downloadyt-local-3d911e4987ef9768702729e60d51cb872700a716.tar.lz
yt-local-3d911e4987ef9768702729e60d51cb872700a716.tar.xz
yt-local-3d911e4987ef9768702729e60d51cb872700a716.zip
Layout: Theater layout: Expand video width across page only as necessary based on length of video
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 0b33dd7..745acdb 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -17,9 +17,12 @@
{% if theater_mode %}
video{
grid-column: 1 / span 5;
- width: 100%;
+ justify-self: center;
+ max-width: 100%;
+ width: {{ theater_video_target_width }}px;
max-height: {{ video_height }}px;
margin-bottom: 10px;
+ background-color: #bcbcbc;
}
.related-videos-outer{
grid-row: 2 /span 3;