make compatibility list header sticky

This commit is contained in:
Jesse Plamondon-Willard 2020-02-17 23:55:28 -05:00
parent 383ebab1af
commit 2319c8e19e
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@
* For the web UI: * For the web UI:
* Updated the JSON validator and Content Patcher schema for `.tmx` support. * Updated the JSON validator and Content Patcher schema for `.tmx` support.
* The mod compatibility page now has a sticky table header.
* For SMAPI/tool developers: * For SMAPI/tool developers:
* The SMAPI log now prefixes the OS name with `Android` on Android. * The SMAPI log now prefixes the OS name with `Android` on Android.

View File

@ -86,6 +86,11 @@ table.wikitable > caption {
font-size: 0.9em; font-size: 0.9em;
} }
#mod-list thead tr {
position: sticky;
top: 0;
}
#mod-list th.header { #mod-list th.header {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center right; background-position: center right;