global: polish context menu
This commit is contained in:
parent
8f4b04a1fd
commit
08db095418
2 changed files with 12 additions and 2 deletions
|
|
@ -5,7 +5,9 @@
|
||||||
const menu = document.createElement('div');
|
const menu = document.createElement('div');
|
||||||
menu.className = 'context-menu';
|
menu.className = 'context-menu';
|
||||||
menu.innerHTML = `
|
menu.innerHTML = `
|
||||||
|
<helo>
|
||||||
<img src="/static/assets/gifs/helo.gif"/>
|
<img src="/static/assets/gifs/helo.gif"/>
|
||||||
|
</helo>
|
||||||
`;
|
`;
|
||||||
menu.style.display = 'none';
|
menu.style.display = 'none';
|
||||||
document.body.appendChild(menu);
|
document.body.appendChild(menu);
|
||||||
|
|
|
||||||
|
|
@ -939,7 +939,15 @@ mini-player {
|
||||||
font-family: 'VT323', monospace;
|
font-family: 'VT323', monospace;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
|
|
||||||
|
helo {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 10svw;
|
width: 5svw;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue