Skip to content

Conversation

@mschoettle
Copy link
Contributor

@mschoettle mschoettle commented Nov 25, 2024

As per discussion in #1256.

This PR adds the same classes for the different license conditions so that the colours match what is shown in the table.

image

@mlinksva mlinksva merged commit c973974 into github:gh-pages Nov 25, 2024
@mschoettle mschoettle deleted the consistent-legend branch November 25, 2024 21:42
for rule in rules
licenseLiElement = $(".license-#{ruletype} .#{rule["tag"]}")
# Only select license elements in table, not legend
licenseLiElement = $("td.license-#{ruletype} .#{rule["tag"]}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Belatedly noticing, I think this may have removed the tooltip from https://choosealicense.com/licenses/ and individual license pages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Fixed in #1259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants