@celljs/ta-games 4.15.2 → 4.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/web/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celljs/ta-games",
3
- "version": "4.15.2",
3
+ "version": "4.17.0",
4
4
  "description": "A pi package for Ta: games and game-like extensions on Phaser and Three.js, the game engines of Ta's web page, with the ta-game skill and the Games page",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -27,8 +27,8 @@
27
27
  "watch": "tsc -b -w --preserveWatchOutput"
28
28
  },
29
29
  "devDependencies": {
30
- "@celljs/ta-protocol": "4.15.2",
31
- "@celljs/ta-web": "4.15.2",
30
+ "@celljs/ta-protocol": "4.17.0",
31
+ "@celljs/ta-web": "4.17.0",
32
32
  "@types/react": "^19.3.0",
33
33
  "phaser": "^4.2.1"
34
34
  },
package/web/index.js CHANGED
@@ -482,7 +482,7 @@ function GameTile({ pi, game }) {
482
482
  // web-src/style.ts
483
483
  var STYLE = `
484
484
  .tgm-scroll { flex: 1; min-height: 0; height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; }
485
- .tgm { display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; box-sizing: border-box; }
485
+ .tgm { display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: var(--ta-page-wide); margin: 0 auto; padding: 24px 20px 40px; box-sizing: border-box; }
486
486
  .tgm-head { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
487
487
  .tgm-title { flex: 1; min-width: 0; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); line-height: calc(22px * var(--ta-font-scale)); font-weight: 600; }
488
488
  .tgm-link { padding: 4px 8px; margin-right: -8px; border: 0; border-radius: 8px; background: none; color: var(--ta-accent); font: inherit; font-size: calc(13px * var(--ta-font-scale)); cursor: pointer; }