diff --git a/src/elements/dev/dev-game-tile.scss b/src/elements/dev/dev-game-tile.scss index a165456a..6f02f13c 100644 --- a/src/elements/dev/dev-game-tile.scss +++ b/src/elements/dev/dev-game-tile.scss @@ -5,8 +5,7 @@ position: relative; display: flex; flex-direction: column; - width: 320px; - height: 380px; + height: 320px; box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2); border-radius: 28px; diff --git a/src/elements/pages/consent.ts b/src/elements/pages/consent.ts index fbd31e24..65d2ec4f 100644 --- a/src/elements/pages/consent.ts +++ b/src/elements/pages/consent.ts @@ -21,7 +21,7 @@ export default class ConsentPage extends LitElement {

First things first, lets do some housekeeping.

diff --git a/src/elements/pages/dev/games.scss b/src/elements/pages/dev/games.scss index d3d702f4..2e3318b7 100644 --- a/src/elements/pages/dev/games.scss +++ b/src/elements/pages/dev/games.scss @@ -11,7 +11,6 @@ position: relative; padding: $border-width; border-radius: $border-radius; - margin: -3px 23px 23px -3px; background-image: utils.dashed-border( rgba(255, 255, 255, 0.12), @@ -37,8 +36,6 @@ } #base { - padding: 0px 12px 12px; - page-header { --icon-fill: #ff4a4b; } @@ -102,10 +99,6 @@ } .games-list { - display: flex; - flex-flow: row wrap; - margin-bottom: -23px; - #create-game { $border-width: 3px; $border-radius: 32px; @@ -113,9 +106,7 @@ overflow: hidden; display: flex; position: relative; - padding: $border-width; border-radius: $border-radius; - margin: -3px 23px 23px -3px; background-image: utils.dashed-border( rgba(255, 255, 255, 0.12), @@ -151,8 +142,8 @@ padding: 16px; box-sizing: border-box; - width: 310px; - height: 380px; + width: 100%; + height: 100%; border-radius: $border-radius - $border-width; text-align: center; @@ -169,14 +160,6 @@ } } - dev-game-tile { - margin: 0 23px 23px 0; - - &:last-child { - margin: 0 10px 23px 0; - } - } - #non-dev-group-selected { display: flex; flex-direction: row; diff --git a/src/elements/pages/dev/games.ts b/src/elements/pages/dev/games.ts index 17476a5e..c565fc36 100644 --- a/src/elements/pages/dev/games.ts +++ b/src/elements/pages/dev/games.ts @@ -239,7 +239,7 @@ export default class DevGames extends LitElement { if (this.loadError) return responses.renderError(this.loadError); return html` -
+
${when(this.data !== null, this.renderBody.bind(this), this.renderPlaceholder)}
@@ -268,18 +268,16 @@ export default class DevGames extends LitElement { : null} ${when( !config.IS_PROD && global.currentIdentity.isRegistered, - () => html`
-
(this.createGroupHovered = true)} - @mouseleave=${() => (this.createGroupHovered = false)} - > -
- - Create a New Developer Group -
+ () => html`
(this.createGroupHovered = true)} + @mouseleave=${() => (this.createGroupHovered = false)} + > +
+ + Create a New Developer Group
` )} @@ -326,7 +324,11 @@ export default class DevGames extends LitElement { })} class="max-sm:w-1/3 md:w-2/3"> -->
- +

${group.displayName} @@ -369,7 +371,7 @@ export default class DevGames extends LitElement {

${when( group.isDeveloper, - () => html`
+ () => html`