From 65a9414209144f9326bb661cc2eff40f3f816ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20J=C3=BClg?= <tobias.juelg@tum.de> Date: Sat, 7 May 2022 14:46:06 +0200 Subject: [PATCH] Fixes issue #38 --- vote/templates/vote/index_election_item.html | 3 ++- vote/templates/vote/spectator_election_item.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vote/templates/vote/index_election_item.html b/vote/templates/vote/index_election_item.html index 34ad03b..b89cb25 100644 --- a/vote/templates/vote/index_election_item.html +++ b/vote/templates/vote/index_election_item.html @@ -28,6 +28,7 @@ <div class="alert alert-info" role="alert"> <h4 class="alert-heading">Voting Ended:</h4> <hr> + <div class="table-responsive"> <table class="table table-striped"> <thead class="thead-dark"> <tr> @@ -49,7 +50,7 @@ </tr> {% endfor %} </tbody> - </table> + </table></div> </div> {% elif not electon.started and not election.is_open and not election.closed %} <a class="btn btn-outline-dark disabled" role="button" href="#"> diff --git a/vote/templates/vote/spectator_election_item.html b/vote/templates/vote/spectator_election_item.html index e2130ff..6f728fb 100644 --- a/vote/templates/vote/spectator_election_item.html +++ b/vote/templates/vote/spectator_election_item.html @@ -14,6 +14,7 @@ <div class="alert alert-info" role="alert"> <h4 class="alert-heading">Election result:</h4> <hr> + <div class="table-responsive"> <table class="table table-striped"> <thead class="thead-dark"> <tr> @@ -35,7 +36,7 @@ </tr> {% endfor %} </tbody> - </table> + </table></div> </div> {% elif not election.is_open and not election.closed %} <a class="btn btn-outline-dark disabled" role="button" href="#"> -- GitLab