mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
make whole row sticky
This commit is contained in:
parent
50ede2f326
commit
b62b6e2416
@ -11,8 +11,8 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
|
||||
|
||||
<table border style="font-size: xx-small; position: relative">
|
||||
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
||||
<tr>
|
||||
<th scope="col" style="text-align: center; background-color: inherit; position: sticky; top: 0;">License</th>
|
||||
<tr style="position: sticky; top: 0">
|
||||
<th scope="col" style="text-align: center">License</th>
|
||||
{% assign seen_tags = '' %}
|
||||
{% for type in types %}
|
||||
{% assign rules = site.data.rules[type] | sort: "label" %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user