1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 23:44:39 +00:00

fix music player on localhost and fix wrong css on cat config page when combined with main css

This commit is contained in:
mat 2024-12-11 09:05:06 +00:00
commit b862807357
3 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -219,6 +219,8 @@
background-size: cover;
height: 100%;
margin: 0;
--background-color-alt-2: transparent;
}
:global(.music-player) {

View file

@ -54,7 +54,7 @@ VØJ - Moonlit`.split('\n')
$effect(() => {
if (musicPlayerEl) {
if (currentSong_ !== currentSong) {
const newSrc = `/retro/music/${currentSong.replace(/\?/g, '')}.mp3`
const newSrc = `https://matdoes.dev/retro/music/${currentSong.replace(/\?/g, '')}.mp3`
musicPlayerEl.src = newSrc
musicPlayerEl.load()
currentSong_ = currentSong