Skip to content

Commit

Permalink
Fix Dynamic table and font resizing on all games pages for mobile bro…
Browse files Browse the repository at this point in the history
…wsing

Game details should no longer break the page layout on devices with small resolution screens
  • Loading branch information
Alcolawl committed Jul 14, 2023
1 parent 5ca256a commit e22b1d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion style/gameStyle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions style/non-minified/gameStyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,26 @@ h1.noMargin {margin-bottom: 0;}
font-weight: 300;
}

#gameRatings {
/*font-family: Hemi;*/
font-size: 22pt;
width: 61%;
#gameRatings { /*Container*/
font-size: calc(15px + 0.390625vw);
margin-left: auto;
margin-right: auto;
margin-top: 2%;
}

table.gameAttributes {
width: 100%;
#gameDetails { /*Table*/
min-width: 60%;
max-width: 60%;
border: 2px solid #CD00FF;
margin-left: auto;
margin-right: auto;
}

td.gameAttributes {
width: 33%;
border: 2px solid #CD00FF;
}

td.gameAttributeHeader{
width: 33%;
border: 2px solid #CD00FF;
color: #00C9FF;
font-weight: 700;
Expand Down

0 comments on commit e22b1d6

Please sign in to comment.