global: i don't like div soup

This commit is contained in:
Agahnim 2026-03-24 16:57:49 +01:00
parent 08db095418
commit 77a9362425
Signed by: Agahnim
SSH key fingerprint: SHA256:Zj65PJnE0dRYye8Ltk/qDglynyXUxJngQ9qqx/VI+b4
2 changed files with 5 additions and 6 deletions

View file

@ -2,12 +2,11 @@
if (window._contextMenuInitialized) return;
window._contextMenuInitialized = true;
const menu = document.createElement('div');
menu.className = 'context-menu';
const menu = document.createElement('helo');
menu.innerHTML = `
<helo>
<helo-content>
<img src="/static/assets/gifs/helo.gif"/>
</helo>
</helo-content>
`;
menu.style.display = 'none';
document.body.appendChild(menu);

View file

@ -926,7 +926,7 @@ mini-player {
}
/* Context Menu */
.context-menu {
helo {
position: fixed;
background: var(--win-bg-grey);
border: 2px solid;
@ -939,7 +939,7 @@ mini-player {
font-family: 'VT323', monospace;
font-size: 1.2rem;
helo {
helo-content {
display: flex;
align-items: center;