From: Guillaume Pellerin Date: Fri, 17 Jan 2025 10:45:11 +0000 (+0100) Subject: fix video style X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1fac09957a2abd7be42f0f61df87d406f4dbde87;p=teleforma.git fix video style --- diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 697c00f0..f187034c 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1815,10 +1815,17 @@ form.add_actus #id_text_parent{ width: 620px; } -.video { - background-color: transparent; - padding: 0.8em 0em 1em 0em; - } +.course_media .video-js{ + max-width: 100%; + height: auto !important; + width: 100% !important; +} + +.course_media .video-js .vjs-tech{ + position: static; + width: 100%; + height: auto; +} .audio { padding: 0.8em 1em 1em 0em; diff --git a/teleforma/templates/teleforma/seminar_media_video.html b/teleforma/templates/teleforma/seminar_media_video.html index 15fec886..9afaab8d 100644 --- a/teleforma/templates/teleforma/seminar_media_video.html +++ b/teleforma/templates/teleforma/seminar_media_video.html @@ -6,10 +6,6 @@ {% block extra_javascript %} - - - - {% if user.is_staff %}