diff --git a/src/components/SongInfo.js b/src/components/SongInfo.js index d001293..417adbf 100644 --- a/src/components/SongInfo.js +++ b/src/components/SongInfo.js @@ -82,6 +82,7 @@ export default function SongInfo() { style={{ bottom: shouldReplacePlayerInfoWithScore ? "" : 0, left: shouldReplacePlayerInfoWithScore ? "" : 0, + position: shouldReplacePlayerInfoWithScore ? "" : "fixed", }} > - + - - + + ); } diff --git a/src/styles/scoreStats.module.css b/src/styles/scoreStats.module.css index 249a05a..16b572a 100644 --- a/src/styles/scoreStats.module.css +++ b/src/styles/scoreStats.module.css @@ -1,6 +1,4 @@ .scoreStats { - position: fixed; - margin-top: -5px; margin-left: 10px; min-width: 135px; diff --git a/src/styles/songInfo.module.css b/src/styles/songInfo.module.css index 813abfc..61a10c3 100644 --- a/src/styles/songInfo.module.css +++ b/src/styles/songInfo.module.css @@ -1,6 +1,5 @@ .songInfoContainer { display: flex; - position: fixed; margin-left: 5px; margin-bottom: 5px; margin-top: 5px;