From 9da7fb2f4e7dc34767b4d6d55fc5076b366e2c96 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 21 May 2020 22:59:02 -0700 Subject: [PATCH] add explanatory comment (#1014) --- components/Carbon.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/Carbon.js b/components/Carbon.js index d9b1ac1..c11bfad 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -39,6 +39,10 @@ function getUnderline(underline) { case 1: return 'underline' case 2: + /** + * Chrome will only round to the nearest wave, causing visual inconsistencies + * https://stackoverflow.com/questions/57559588/how-to-make-the-wavy-underline-extend-cover-all-the-characters-in-chrome + */ return `${COLORS.RED} wavy underline; text-decoration-skip-ink: none` } return 'initial'