More accurate centered play section #22
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
With the new long screen devices, the play section is not very centered friendly. Right now, the play section has a workaround with a CSS class called
.longPhonePortrait
it's called in the last section oftimer.js
.The main logic behind this trick is: "it calculates if the width is less than the double of the height." If it's then it applies the
.longPhonePortrait
.Another option would be to provide the precise height to
innerPlayContainer
that subtract the footer and upper components height. If this is done, then you could try centering thisdiv
in the right location.For now, the current workaround is good enough.
The text was updated successfully, but these errors were encountered: