diff --git a/public/assets/tagsspaces.png b/public/assets/tagsspaces.png new file mode 100644 index 0000000..81b8cdb Binary files /dev/null and b/public/assets/tagsspaces.png differ diff --git a/src/posts/trailing-underlines.md b/src/posts/trailing-underlines.md new file mode 100644 index 0000000..ab6594e --- /dev/null +++ b/src/posts/trailing-underlines.md @@ -0,0 +1,47 @@ +--- +layout: "../layouts/BlogPost.astro" +title: "Removing trailing space underlines from groups of anchor tags" +slug: trailing-underlines +description: "Sometimes when you have a bunch of anchor tags, the trailing spaces around them are underlined. Here's how to fix that." +added: "Jun 14 2023" +tags: [technical] +--- + +Recently as I was working on some styles for my blog, I ran into an issue where I had a block of anchor tags rendered in JSX, and they didn't look right. + + + +All of the links had trailing spaces, and those spaces were being underlined! + +## How did we get here? + +I had an array of tags, and they were being displayed in a `
+ See the Pen + Underlined spaces in blocks of links by Cassidy (@cassidoo) + on CodePen. +
+ + +The end, stay safe, nerds.