fix: Remove underline from trailing whitespace in external links#3709
fix: Remove underline from trailing whitespace in external links#3709xyos wants to merge 2 commits into
Conversation
4425ba7 to
2b63d72
Compare
Removes the non-breaking space that caused underlines to appear below trailing whitespace between external icon and link text. Replaces it with margin-inline-start. AWSUI-60840
2b63d72 to
a4c1cc5
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3709 +/- ##
========================================
Coverage 96.99% 96.99%
========================================
Files 820 820
Lines 23799 23799
Branches 7917 8338 +421
========================================
Hits 23084 23084
Misses 709 709
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@xyos Hi! Thanks for opening the pull request, taking a closer look and running a full screenshot comparison test. Though there is one regression that should be addressed. Being the one who made the original change with the
I recall trying to do the |

Description
Removes the non-breaking space that caused underlines to appear below trailing whitespace between external icon and link text. Replaces it with margin-inline-start.
Related links, issue #, if available: AWSUI-60840
How has this been tested?
I tested the link permutation page at
http://localhost:8081/#/light/link/permutationsmanually and generated a diff to check difference between changes and previous implementation usingodiff:Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.