From 1af0a64f5db8e16418dd01df6c4c842361371cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Fri, 3 Sep 2021 19:14:34 +0200 Subject: [PATCH] elections2021: Going to vote page update --- .../elections2021_going_to_vote_page.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/elections2021/templates/elections2021/elections2021_going_to_vote_page.html b/elections2021/templates/elections2021/elections2021_going_to_vote_page.html index f51a773b..baf3085f 100644 --- a/elections2021/templates/elections2021/elections2021_going_to_vote_page.html +++ b/elections2021/templates/elections2021/elections2021_going_to_vote_page.html @@ -105,8 +105,16 @@ display: none; } + #young_voters .video-player { + display: none; + } + @media (min-width: 992px) { + #young_voters .video-player { + display: block; + } + #young_voters .accordeon-row { border-left: 8px solid black; text-align: center; @@ -272,7 +280,7 @@ <img src="{% static "elections2021/images/heads-active.png" %}" alt="Půjdem k volbám" hidden> <i class="ico--chevron-down"></i> </label> - <div class="accordeon-row-body"> + <div class="accordeon-row-body video-player"> <div class="content-block"> {% if page.video %} <iframe width="640" height="446" src="{{ page.video }}" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> -- GitLab