From dd5c195313c2f9c604ad39edd8cc0e9e53d7c5f8 Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Fri, 21 Apr 2017 00:44:43 +0200 Subject: [PATCH] made timetable at least 100% width --- templates/timetable.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/timetable.html b/templates/timetable.html index 1f9fd29..4844d5c 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -13,7 +13,7 @@ </div> </div> <div class="panel-body row table-responsive" style="margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px"> - <table id="timetable" class="table table-bordered col-xs-12" style="width: auto;"> + <table id="timetable" class="table table-bordered col-xs-12" style="width: auto; min-width: 100%;"> <tr><th style="width: 30px;"></th>{% for d in days if (d.index < 5) or (d.lectures|length) > 0 %}<th style="width: {{ 100/(days|length -1) }}%; min-width: 10em;" colspan="{{d.maxcol}}">{{ d.date.strftime("%A (%d.%m.%Y)") }}</th>{% endfor %}</tr> {% for t in times %} {% set time_loop = loop %} -- GitLab