Scale the lyrics page responsively
### Changes - The lyrics text size is set to 1.875rem instead of 30px so it looks proportionate on all devices - Added a small breathing room of 0.5em around the lyrics container so the text does not touch the screen edges on smaller devices - Smoothly transition the opacity of each `lyricsLine`
This commit is contained in:
committed by
Bill Thornton
parent
fec58cc8aa
commit
4b41668627
@@ -1,5 +1,7 @@
|
||||
.lyricPage {
|
||||
padding-top: 4.2em !important;
|
||||
padding-left: 0.5em !important;
|
||||
padding-right: 0.5em !important;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -13,9 +15,12 @@
|
||||
display: inline-block;
|
||||
width: fit-content;
|
||||
margin: 0.1em;
|
||||
font-size: 30px;
|
||||
font-size: 1.875rem;
|
||||
color: inherit;
|
||||
min-height: 2em;
|
||||
|
||||
transition-property: opacity;
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
.futureLyric {
|
||||
|
||||
Reference in New Issue
Block a user