Skip to content

Commit

Permalink
Merge pull request #25 from xbozo/feat/ui-adjust
Browse files Browse the repository at this point in the history
feat/ui-adjust: adjust spacings on large screens on game details ui
  • Loading branch information
Hydra authored Apr 15, 2024
2 parents 3d2b905 + 20d2c9e commit 70fabcc
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/renderer/pages/game-details/game-details.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ export const contentSidebar = style({
height: "100%",
"@media": {
"(min-width: 768px)": {
width: "100%",
maxWidth: "200px",
width: "200px",
minWidth: "200px",
},
"(min-width: 1024px)": {
maxWidth: "325px",
width: "325px",
minWidth: "325px",
maxWidth: "300px",
width: "100%",
},
"(min-width: 1280px)": {
width: "100%",
maxWidth: "400px",
},
},
});
Expand Down Expand Up @@ -118,6 +120,14 @@ export const description = style({
fontFamily: "'Fira Sans', sans-serif",
fontSize: "16px",
padding: `${SPACING_UNIT * 3}px ${SPACING_UNIT * 2}px`,
"@media": {
"(min-width: 1280px)": {
width: "60%",
},
},
width: "100%",
marginLeft: "auto",
marginRight: "auto",
});

export const descriptionHeader = style({
Expand Down Expand Up @@ -175,11 +185,9 @@ globalStyle(".bb_tag", {
globalStyle(`${description} img`, {
borderRadius: "5px",
marginTop: `${SPACING_UNIT}px`,
marginBottom: `${SPACING_UNIT}px`,
marginLeft: "auto",
marginRight: "auto",
marginBottom: `${SPACING_UNIT * 3}px`,
display: "block",
maxWidth: "100%",
width: "100%",
boxShadow: "0px 0px 15px 0px #000000",
});

Expand Down

0 comments on commit 70fabcc

Please sign in to comment.