the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

[Bug] Resource page link underlines don't follow text #346

Closed travisk-codes closed 3 years ago

travisk-codes commented 4 years ago

Description: Links at the bottom of resource pages that span more than one line only have an underline for the last line, and it expands past the text (see screenshot)

To Reproduce:

  1. Navigate to a resource page with links at the end (e.g. https://theprogrammershangout.com/archives/what-is-julia.md)
  2. Scroll to bottom of the page where links are located
  3. Observe a long link

Expected Behavior: For the link underline to be under the entire link and not extend past the text

Environment:

Screenshots: tph-resource-links tph-resource-links-2

veksen commented 4 years ago

Leaving this codepen here: those were my attempts at solving this, I couldn't crack it.

https://codepen.io/veksen/pen/YzyZzNV