@kuncat/avoidant 0.1.1 → 0.1.2

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.
@@ -783,7 +783,7 @@
783
783
  </div>
784
784
 
785
785
  {#if gameState}
786
- <div style="height: 100vh; width: 100%;">
786
+ <div id="game-canvas-container" style="height: 100vh; width: 100%;">
787
787
  <Canvas colorSpace="srgb-linear">
788
788
  <T.OrthographicCamera
789
789
  makeDefault
@@ -115,6 +115,10 @@ h1 {
115
115
  @apply mb-2 block text-left text-xs font-bold tracking-wide text-slate-500 uppercase;
116
116
  }
117
117
 
118
+ .game-canvas-container > div:has(canvas) {
119
+ @apply h-full w-full;
120
+ }
121
+
118
122
  .advanced-settings {
119
123
  @apply rounded border border-slate-300 bg-slate-100;
120
124
  }
package/package.json CHANGED
@@ -84,5 +84,5 @@
84
84
  "**/*.css"
85
85
  ],
86
86
  "type": "module",
87
- "version": "0.1.1"
87
+ "version": "0.1.2"
88
88
  }