diff --git a/elections2021/templates/elections2021/elections2021_going_to_vote_page.html b/elections2021/templates/elections2021/elections2021_going_to_vote_page.html index f51a773b620a242984a58da206918a95c8d96740..baf3085f81fad1ea7c7e58e364ae43fe996bf5d5 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>