creativecommons / creativecommons.github.io-source

Source files for CC Open Source website
https://opensource.creativecommons.org/
MIT License
77 stars 161 forks source link

[Bug] Align lists in Get Involved Section on Homepage #703

Closed adidevs closed 1 year ago

adidevs commented 1 year ago

Description

The centre list on the site is not aligned with the lists on the sides.

Reproduction

  1. Go to the site homepage
  2. Scroll down to the "Get Involved" section
  3. See error.

Expectation

The three lists must be aligned to the same level

Screenshots

image

Environment

Resolution

adidevs commented 1 year ago

I have some solutions for the same:

  1. Edit and replace the heading "Integrate CC licenses into your project" with a shorter heading like "Integrate CC licenses" or "Add CC licenses". This can be followed by modifying the description of Chooser and Platform toolkit by adding a phrase like "for your project".
  2. The other way around by adding content to the other list headings.
  3. Add a class to the div containing the list and specify additional CSS for the same and move the centre list upwards.
TimidRobot commented 1 year ago

@abidevs I like option 1. Is "Add CC licenses to your project" short enough?

TimidRobot commented 1 year ago

@adidevs Also, shortening the heading may not be enough on smaller screens. Please test responsiveness.

adidevs commented 1 year ago

Hey @TimidRobot ! Option 1 is the simplest of the alternatives, but "Add CC licenses to your project" is not short enough. We need to exclude the phrase "to your project" and add it in the description, a sample of which I am attaching below for your kind reference.

Also, addressing your 2nd concern, I have tested the below solution and it works on smaller screens and is responsive.

"for your project" is added to the description of Chooser

image

TimidRobot commented 1 year ago

@adidevs looks good! please submit a PR

adidevs commented 1 year ago

At it!