style: auto-fix linting issues
This commit is contained in:
parent
0424e6bea7
commit
81ea141d48
2 changed files with 13 additions and 4 deletions
10
index.html
10
index.html
|
|
@ -4520,7 +4520,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p id="settings-commit-info" style="text-align:center;color:var(--muted-foreground);font-size:0.75rem;padding:1rem 0 0.5rem"></p>
|
||||
<p
|
||||
id="settings-commit-info"
|
||||
style="
|
||||
text-align: center;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.75rem;
|
||||
padding: 1rem 0 0.5rem;
|
||||
"
|
||||
></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -406,9 +406,10 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
{
|
||||
const repo = 'https://github.com/monochrome-music/monochrome';
|
||||
const hash = typeof __COMMIT_HASH__ !== 'undefined' ? __COMMIT_HASH__ : 'dev';
|
||||
const commitLink = hash !== 'dev' && hash !== 'unknown'
|
||||
? `<a href="${repo}/commit/${hash}" target="_blank" rel="noopener noreferrer" style="color:inherit;text-decoration:underline">${hash}</a>`
|
||||
: hash;
|
||||
const commitLink =
|
||||
hash !== 'dev' && hash !== 'unknown'
|
||||
? `<a href="${repo}/commit/${hash}" target="_blank" rel="noopener noreferrer" style="color:inherit;text-decoration:underline">${hash}</a>`
|
||||
: hash;
|
||||
const repoLink = `<a href="${repo}" target="_blank" rel="noopener noreferrer" style="color:inherit;text-decoration:underline">monochrome-music/monochrome</a>`;
|
||||
const html = `Commit ${commitLink} · ${repoLink}`;
|
||||
const aboutEl = document.getElementById('about-commit-info');
|
||||
|
|
|
|||
Loading…
Reference in a new issue