Adjust size of sandwich icon
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-06-05 09:18:13 -06:00
parent 39032776b4
commit 85c28777f4
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
4 changed files with 12 additions and 40 deletions

View file

@ -84,7 +84,7 @@
SANDWICH THE SANDWICH THE SANDWICH THE SANDWICH THE SANDWICH</x-marquee>
<div style="position: relative; pointer-events: none;" class="flex-container">
<img id="logo" class="icon" src="/assets/icon.svg"
style="position: absolute; height: calc(min(512px, 95vw) + var(--energy));">
style="position: absolute; height: calc(min(275px, 50vw) + var(--energy)); overflow: hidden;">
<div id="audioContainer" style="position: absolute;"></div>
</div>
<div style="height: min(30vw, 150px);"></div>
@ -302,7 +302,7 @@
function drawCallback(instance, info) {
const energy = instance.getEnergy() * 256;
const energy = instance.getEnergy() * 150;
document.documentElement.style.setProperty('--energy', energy + 'px');
}
</script>