Skip to content

Commit 47ff31b

Browse files
author
DavidQ
committed
style(games): increase Open with Workspace Manager link size by 1px and make bold
1 parent d2033eb commit 47ff31b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

games/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@
127127
color: #ffffff;
128128
}
129129

130+
.game-tool-roundtrip p > a {
131+
font-size: calc(1em + 1px);
132+
font-weight: 700;
133+
}
134+
130135
.game-tool-roundtrip h4 {
131136
margin: 0 0 6px;
132137
}

games/index.render.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,9 @@ function renderCard(row, instanceKey = "main") {
237237
article.dataset.gameId = row.id;
238238

239239
const launchHref = row.workspaceHref || "";
240+
const previewLaunchHref = row.href || "";
240241
const previewHtml = row.preview
241-
? `<a class="game-preview-link" href="${escapeHtml(launchHref || "#")}" ${launchHref ? "" : "aria-disabled=\"true\""}><img class="game-thumb" loading="lazy" decoding="async" alt="${escapeHtml(row.title)} thumbnail" src="${escapeHtml(row.preview)}"></a>`
242+
? `<a class="game-preview-link" href="${escapeHtml(previewLaunchHref || "#")}" ${previewLaunchHref ? "" : "aria-disabled=\"true\""}><img class="game-thumb" loading="lazy" decoding="async" alt="${escapeHtml(row.title)} thumbnail" src="${escapeHtml(row.preview)}"></a>`
242243
: `<span class="game-preview-link game-preview-missing">No Preview</span>`;
243244

244245
const pinInputId = `game-pin-${escapeHtml(row.id)}-${escapeHtml(instanceKey)}`;

0 commit comments

Comments
 (0)