changed the socialLink element class

some adblocking filters block .social-link class, and this is not an ad, at all :/
This commit is contained in:
wukko 2023-02-13 19:49:18 +06:00
parent 75a85972aa
commit 18199c534f
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@ input[type="checkbox"] {
.italic { .italic {
font-style: italic; font-style: italic;
} }
.social-link { .cobalt-support-link {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;

View file

@ -129,7 +129,7 @@ export function backdropLink(link, text) {
return `<a class="text-backdrop italic" href="${link}" target="_blank">${text}</a>` return `<a class="text-backdrop italic" href="${link}" target="_blank">${text}</a>`
} }
export function socialLink(emoji, name, handle, url) { export function socialLink(emoji, name, handle, url) {
return `<div class="social-link">${emoji} ${name}: <a class="text-backdrop italic" href="${url}" target="_blank">${handle}</a></div>` return `<div class="cobalt-support-link">${emoji} ${name}: <a class="text-backdrop italic" href="${url}" target="_blank">${handle}</a></div>`
} }
export function settingsCategory(obj) { export function settingsCategory(obj) {
return `<div id="settings-${obj.name}" class="settings-category"> return `<div id="settings-${obj.name}" class="settings-category">