Skip to content

Commit

Permalink
[UI] Clean up whitespace and formatting in GamePage styles for improv…
Browse files Browse the repository at this point in the history
…ed readability
  • Loading branch information
biliesilva committed Mar 3, 2025
1 parent 7888408 commit 5d999ed
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions src/frontend/screens/Game/GamePage/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'left right'
'report report';


overflow: hidden;
justify-content: flex-start;
align-items: flex-start;
Expand All @@ -23,12 +22,10 @@
** which is 44px
*/


.MuiTab-labelIcon {
min-height: unset;
}


p {
margin-block-start: var(--space-xs);
margin-block-end: var(--space-xs);
Expand Down Expand Up @@ -96,7 +93,7 @@
flex-direction: column;
width: 100%;
height: 100%;
max-height: calc(100vh - 150px);
max-height: calc(100vh - 150px);
overflow-y: auto;
overflow-x: hidden;
align-items: flex-start;
Expand Down Expand Up @@ -148,8 +145,8 @@
);
}
}
//mainInfoWrapper

//mainInfoWrapper
.mainInfoWrapper {
.mainInfo {
padding: max(25vh, 125px) min(4vw, 70px) min(5vh, 25px);
Expand Down Expand Up @@ -265,7 +262,6 @@

& > button {
align-self: center;

}

& .mainBtn {
Expand Down Expand Up @@ -305,7 +301,6 @@

& > div {
overflow-y: auto;

}

& div.infoTab,
Expand All @@ -320,15 +315,14 @@
align-items: center;
border-bottom: 1px solid transparent;
background-image: linear-gradient(
to right,
transparent,
var(--neutral-04),
transparent
to right,
transparent,
var(--neutral-04),
transparent
);
background-position: bottom;
background-size: 100% 1px;
background-repeat: no-repeat;


&:focus-visible,
&:has(:focus-visible) {
Expand Down Expand Up @@ -383,7 +377,6 @@
gap: 10px;
}


& .MuiAccordionSummary-expandIconWrapper {
color: inherit;
}
Expand All @@ -394,8 +387,6 @@
}
}
}


}

.anticheatInfo {
Expand Down Expand Up @@ -569,8 +560,8 @@

.mainInfo {
padding: max(10vh, 80px) min(3vw, 50px) min(3vh, 20px);
}
}

.extraInfo {
padding: 1vh 1vw;
}
Expand Down

0 comments on commit 5d999ed

Please sign in to comment.