aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-01-24 11:50:13 +0800
committerAstound <kirito@disroot.org>2024-01-24 11:50:13 +0800
commit810dff999ecd3e85e58b694b9dafbe95afc9135c (patch)
tree72c4659f46996f02779e2c221f082a8da488420f
parent4da91fb9728048a62acd7b84afa28962e54f90e7 (diff)
downloadyt-local-810dff999ecd3e85e58b694b9dafbe95afc9135c.tar.lz
yt-local-810dff999ecd3e85e58b694b9dafbe95afc9135c.tar.xz
yt-local-810dff999ecd3e85e58b694b9dafbe95afc9135c.zip
Set flexible responsive video
-rw-r--r--youtube/static/watch.css2
-rw-r--r--youtube/version.py2
2 files changed, 2 insertions, 2 deletions
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 */
diff --git a/youtube/version.py b/youtube/version.py
index f50b25a..46fde2d 100644
--- a/youtube/version.py
+++ b/youtube/version.py
@@ -1,3 +1,3 @@
from __future__ import unicode_literals
-__version__ = '0.2.6'
+__version__ = '0.2.7'