mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
fix synchronized lyric styles not applying
This commit is contained in:
parent
ef9c16e940
commit
35e70a3eff
3 changed files with 12 additions and 16 deletions
|
|
@ -6,16 +6,16 @@
|
|||
transition:
|
||||
opacity 0.3s ease-in-out,
|
||||
transform 0.3s ease-in-out;
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.unsynchronized {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.synchronized {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.lyric-line:global(.active) {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.lyric-line:global(.unsynchronized) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.lyric-line:global(.synchronized) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@ import isElectron from 'is-electron';
|
|||
import { useCallback, useEffect, useRef } from 'react';
|
||||
|
||||
import styles from './synchronized-lyrics.module.css';
|
||||
import './synchronized-lyrics.css';
|
||||
|
||||
import { LyricLine } from '/@/renderer/features/lyrics/lyric-line';
|
||||
import { useScrobble } from '/@/renderer/features/player/hooks/use-scrobble';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue