Fix score stats being hidden by song info
This commit is contained in:
parent
5978458f60
commit
4e4444c04e
@ -82,6 +82,7 @@ export default function SongInfo() {
|
|||||||
style={{
|
style={{
|
||||||
bottom: shouldReplacePlayerInfoWithScore ? "" : 0,
|
bottom: shouldReplacePlayerInfoWithScore ? "" : 0,
|
||||||
left: shouldReplacePlayerInfoWithScore ? "" : 0,
|
left: shouldReplacePlayerInfoWithScore ? "" : 0,
|
||||||
|
position: shouldReplacePlayerInfoWithScore ? "" : "fixed",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
|
@ -58,11 +58,11 @@ export default function Overlay(props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.main}>
|
<div className={styles.main}>
|
||||||
<NextSeo title="Overlay"></NextSeo>
|
<NextSeo title="Overlay" />
|
||||||
<PlayerStats />
|
<PlayerStats />
|
||||||
<CutStats />
|
|
||||||
<ScoreStats />
|
|
||||||
<SongInfo />
|
<SongInfo />
|
||||||
|
<ScoreStats />
|
||||||
|
<CutStats />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
.scoreStats {
|
.scoreStats {
|
||||||
position: fixed;
|
|
||||||
margin-top: -5px;
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
min-width: 135px;
|
min-width: 135px;
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
.songInfoContainer {
|
.songInfoContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
Reference in New Issue
Block a user