From ae3fac05e0d2ae6c654e2d23b66a9c63709a4f94 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 1 Mar 2024 07:50:19 -0400 Subject: content, css, test: tweak external link white-space handling --- src/content/dependencies/linkExternal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js index 2de1bc70..7a97762c 100644 --- a/src/content/dependencies/linkExternal.js +++ b/src/content/dependencies/linkExternal.js @@ -51,8 +51,8 @@ export default { }); } + linkAttributes.set('class', 'external-link'); linkAttributes.set('href', data.url); - linkAttributes.set('class', 'nowrap'); if (slots.tab === 'separate') { linkAttributes.set('target', '_blank'); -- cgit 1.3.0-6-gf8a5