Fix score stats being hidden by song info

This commit is contained in:
Liam 2022-10-29 15:37:59 +01:00
parent 5978458f60
commit 4e4444c04e
4 changed files with 4 additions and 6 deletions

View File

@ -82,6 +82,7 @@ export default function SongInfo() {
style={{
bottom: shouldReplacePlayerInfoWithScore ? "" : 0,
left: shouldReplacePlayerInfoWithScore ? "" : 0,
position: shouldReplacePlayerInfoWithScore ? "" : "fixed",
}}
>
<Image

View File

@ -58,11 +58,11 @@ export default function Overlay(props) {
return (
<div className={styles.main}>
<NextSeo title="Overlay"></NextSeo>
<NextSeo title="Overlay" />
<PlayerStats />
<CutStats />
<ScoreStats />
<SongInfo />
<ScoreStats />
<CutStats />
</div>
);
}

View File

@ -1,6 +1,4 @@
.scoreStats {
position: fixed;
margin-top: -5px;
margin-left: 10px;
min-width: 135px;

View File

@ -1,6 +1,5 @@
.songInfoContainer {
display: flex;
position: fixed;
margin-left: 5px;
margin-bottom: 5px;
margin-top: 5px;