1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Merge pull request #1089 from joassanon/patch-1

Add stickiness to the table header
This commit is contained in:
Mike Linksvayer 2023-04-08 12:17:54 -07:00 committed by GitHub
commit 8a2c979dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,9 @@ For reference, here is a table of every license described in the [choosealicense
If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases. If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases.
<table border style="font-size: xx-small"> <table border style="font-size: xx-small; position: relative">
{% assign types = "permissions|conditions|limitations" | split: "|" %} {% assign types = "permissions|conditions|limitations" | split: "|" %}
<tr> <tr style="position: sticky; top: 0">
<th scope="col" style="text-align: center">License</th> <th scope="col" style="text-align: center">License</th>
{% assign seen_tags = '' %} {% assign seen_tags = '' %}
{% for type in types %} {% for type in types %}