Skip to content

Commit

Permalink
feat: added grid previews
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed Apr 23, 2023
1 parent c899f86 commit 31764ac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/toast-modals/GridPreviewModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
$: games = [...$steamGames, ...$nonSteamGames];
const widths = {
"Capsule": 300,
"Capsule": 400,
"Wide Capsule": 600,
"Hero": 956,
"Logo": 600,
"Icon": 256,
};
const heights = {
"Capsule": 450,
"Capsule": 600,
"Wide Capsule": 291,
"Hero": 342,
"Logo": 402,
Expand Down Expand Up @@ -125,11 +125,10 @@
.background {
font-size: 12px;
z-index: 3;
top: 30px;
position: absolute;
background-color: rgba(0, 0, 0, 0.6);
width: 100%;
height: 100%;
height: calc(100% - 30px);
display: none;
}
Expand Down

0 comments on commit 31764ac

Please sign in to comment.