diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 10:46:44 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:16 -0300 |
commit | 9edbf2deb022b0b2b3699bf0ffa3b8c6aa6e1c98 (patch) | |
tree | b837391d019bfe13573ad24729a6afc69b3b2fb3 /src/content/dependencies/generateContributionTooltipExternalLinkSection.js | |
parent | 1529fe740544231d830e42ab94d3fddac68772ff (diff) |
content, css: general tooltip/icon css cleanup
Diffstat (limited to 'src/content/dependencies/generateContributionTooltipExternalLinkSection.js')
-rw-r--r-- | src/content/dependencies/generateContributionTooltipExternalLinkSection.js | 7 |
1 files changed, 3 insertions, 4 deletions
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 |