From 9edbf2deb022b0b2b3699bf0ffa3b8c6aa6e1c98 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 18 Jun 2024 10:46:44 -0300 Subject: content, css: general tooltip/icon css cleanup --- .../dependencies/generateContributionTooltipExternalLinkSection.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/content/dependencies/generateContributionTooltipExternalLinkSection.js') diff --git a/src/content/dependencies/generateContributionTooltipExternalLinkSection.js b/src/content/dependencies/generateContributionTooltipExternalLinkSection.js index a9d17457..d4342098 100644 --- a/src/content/dependencies/generateContributionTooltipExternalLinkSection.js +++ b/src/content/dependencies/generateContributionTooltipExternalLinkSection.js @@ -41,20 +41,19 @@ export default { } return [ - html.tag('a', {class: 'icon'}, + html.tag('a', {class: 'external-link'}, {href: url}, - {class: 'has-text'}, [ icon, - html.tag('span', {class: 'icon-text'}, + html.tag('span', {class: 'external-handle'}, (html.isBlank(handle) ? platform : handle)), ]), - html.tag('span', {class: 'icon-platform'}, + html.tag('span', {class: 'external-platform'}, // This is a pretty ridiculous hack, but we currently // don't have a way of telling formatExternalLink to *not* // use the fallback string, which just formats the URL as -- cgit 1.3.0-6-gf8a5