From e56f64afc6aa4cf2b34bd1d9f484a14ec06c05c1 Mon Sep 17 00:00:00 2001 From: Alexandr Karpov Date: Fri, 14 Apr 2023 10:23:48 +0300 Subject: [PATCH] fixed adaptive --- akarpov/files/previews/video/basic.py | 2 +- akarpov/files/previews/video/mp4.py | 4 ++-- akarpov/static/css/project.css | 2 +- akarpov/templates/base.html | 6 +++--- akarpov/templates/blog/list.html | 2 +- akarpov/templates/files/view.html | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/akarpov/files/previews/video/basic.py b/akarpov/files/previews/video/basic.py index 40d2ae9..077c09d 100644 --- a/akarpov/files/previews/video/basic.py +++ b/akarpov/files/previews/video/basic.py @@ -11,7 +11,7 @@ def view(file: File) -> (str, str): """ - data = """"playbackRates": [0.5, 1, 1.5, 2], "responsive": true }""" + data = """{"playbackRates": [0.5, 1, 1.5, 2], "responsive": true, "fit": true, "fluid": true }""" content = f"""