-
+
Welcome to Rivet!
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)}
- >
-
${when(
group.isDeveloper,
- () => html`
-
- Create a New Developer Group
-
+ () => html` (this.createGroupHovered = true)}
+ @mouseleave=${() => (this.createGroupHovered = false)}
+ >
+
`
)}
@@ -326,7 +324,11 @@ export default class DevGames extends LitElement {
})} class="max-sm:w-1/3 md:w-2/3"> -->
+
+ Create a New Developer Group
-
+
${group.displayName} @@ -369,7 +371,7 @@ export default class DevGames extends LitElement {
+ () => html`