Fix thead not sticking properly in chromium-based browsers, restore scroll-sync

This commit is contained in:
Chris Wilson
2020-07-25 17:24:23 -04:00
parent 5cd5223ae0
commit 1d22c7fb97
4 changed files with 69 additions and 13 deletions

View File

@@ -86,7 +86,7 @@
{% set colspan = colspan + 1 %}
{% endif %}
{% if area in icons %}
<th colspan="{{ colspan }}" class="center-column">
<th colspan="{{ colspan }}" class="center-column upper-row">
<img class="alttp-sprite" src="{{ icons[area] }}" alt="{{ area }}"></th>
{% else %}
<th colspan="{{ colspan }}" class="center-column">{{ area }}</th>
@@ -96,16 +96,16 @@
</tr>
<tr>
{% for area in ordered_areas %}
<th class="center-column">
<th class="center-column lower-row">
<img class="alttp-sprite" src="{{ icons["Chest"] }}" alt="Checks">
</th>
{% if area in key_locations %}
<th class="center-column">
<th class="center-column lower-row">
<img class="alttp-sprite" src="{{ icons["Small Key"] }}" alt="Small Key">
</th>
{% endif %}
{% if area in big_key_locations %}
<th class="center-column">
<th class="center-column lower-row">
<img class="alttp-sprite" src="{{ icons["Big Key"] }}" alt="Big Key">
</th>
{% endif %}