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:
parent
4b9eafe3da
commit
b862807357
3 changed files with 3 additions and 1 deletions
Binary file not shown.
|
@ -219,6 +219,8 @@
|
|||
background-size: cover;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
|
||||
--background-color-alt-2: transparent;
|
||||
}
|
||||
|
||||
:global(.music-player) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue