mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Adjust vertical padding on lyrics display
This commit is contained in:
parent
7f6efbe6dc
commit
f4eaacc64a
@ -18,7 +18,7 @@ const mpvPlayer = isElectron() ? window.electron.mpvPlayer : null;
|
||||
const SynchronizedLyricsContainer = styled.div`
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 5rem 0;
|
||||
padding: 10vh 0 6vh;
|
||||
overflow: scroll;
|
||||
transform: translateY(-2rem);
|
||||
|
||||
@ -29,6 +29,10 @@ const SynchronizedLyricsContainer = styled.div`
|
||||
rgba(0, 0, 0, 100%) 85%,
|
||||
transparent 95%
|
||||
);
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
padding: 5vh 0;
|
||||
}
|
||||
`;
|
||||
|
||||
interface SynchronizedLyricsProps extends Omit<FullLyricsMetadata, 'lyrics'> {
|
||||
|
Loading…
Reference in New Issue
Block a user