Fixate table left/rightmost column width

This commit is contained in:
2024-02-16 11:21:41 +01:00
parent 516fa107e5
commit f05d227e3e
2 changed files with 4 additions and 7 deletions

View File

@ -14,14 +14,11 @@ db.init_app(app)
# TODO
# - Sortable list to enter full race results (need 7 positions to calculate points),
# don't enter race result on guess page
# - Sortable list to enter full race results (need 7 positions to calculate points) => remove from race page
# - Move guessed place to leftmost column and display actual finishing position of driver instead
# - Choose "place to guess" late before the race?
# - Already show coming race in table, to give better feedback once a user has locked in a guess
# - Set fixed sizes for left- and rightmost column in races table
# - Fix the weird sizing everywhere when selecting only a single user...
# - Replace ALL absolute pixel values inside the templates
# - Fix the weird sizing everywhere when selecting only a single user, center the season card...
@app.route("/")

View File

@ -24,9 +24,9 @@
<table class="table table-bordered table-sm table-responsive">
<thead>
<tr>
<th scope="col" rowspan="2" class="text-center">Race</th>
<th scope="col" rowspan="2" class="text-center" style="width: 200px;">Race</th>
<th scope="col" colspan="{{ chosenusers | length }}" class="text-center">Call</th>
<th scope="col" rowspan="2" class="text-center">Result</th>
<th scope="col" rowspan="2" class="text-center" style="width: 200px;">Result</th>
</tr>
</thead>