From 810dff999ecd3e85e58b694b9dafbe95afc9135c Mon Sep 17 00:00:00 2001 From: Astound Date: Wed, 24 Jan 2024 11:50:13 +0800 Subject: Set flexible responsive video --- youtube/static/watch.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/static/watch.css') diff --git a/youtube/static/watch.css b/youtube/static/watch.css index 51ecacd..849e22b 100644 --- a/youtube/static/watch.css +++ b/youtube/static/watch.css @@ -21,7 +21,7 @@ img { video { width: 100%; height: auto; - max-height: 480px; + max-height: calc(100vh/1.5); } /* plyr fix */ -- cgit v1.2.3