1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-21 20:30:10 +01:00

make whole row sticky

This commit is contained in:
Mike Linksvayer 2023-04-08 12:16:19 -07:00 committed by GitHub
parent 50ede2f326
commit b62b6e2416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" %}