Use flex gap instead of line height for lyrics
This commit is contained in:
parent
fbd0e5b27b
commit
c5f551e963
3 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,6 @@ const StyledText = styled(TextTitle)`
|
|||
color: var(--main-fg);
|
||||
font-weight: 400;
|
||||
font-size: 2.5vmax;
|
||||
line-height: 1.5;
|
||||
transform: scale(0.95);
|
||||
opacity: 0.5;
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@ import styled from 'styled-components';
|
|||
const mpvPlayer = isElectron() ? window.electron.mpvPlayer : null;
|
||||
|
||||
const SynchronizedLyricsContainer = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 10vh 0 6vh;
|
||||
|
|
|
@ -8,6 +8,9 @@ interface UnsynchronizedLyricsProps extends Omit<FullLyricsMetadata, 'lyrics'> {
|
|||
}
|
||||
|
||||
const UnsynchronizedLyricsContainer = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 10vh 0 6vh;
|
||||
|
|
Reference in a new issue