jbilcke-hf HF Staff commited on
Commit
ec962e0
·
1 Parent(s): f479593

one more fix

Browse files
Files changed (1) hide show
  1. src/app/main.tsx +5 -5
src/app/main.tsx CHANGED
@@ -400,7 +400,11 @@ export default function Main() {
400
  "flex flex-col w-full pt-4 space-y-3 text-gray-50 dark:text-gray-50",
401
  getGame(gameRef.current).className // apply the game theme
402
  ].join(" ")}>
403
- <div className="flex flex-row justify-end">
 
 
 
 
404
  <div className="text-xl mr-2">
405
  {rendered.segments.length
406
  ? <span>💡 Try to click on:</span>
@@ -413,10 +417,6 @@ export default function Main() {
413
  {i < (clickables.length - 1) ? <div>,</div> : null}
414
  </div>)}
415
  </div>
416
- <div className="flex flex-row justify-start">
417
- <div className="text-xl px-2">{lastEvent}</div>
418
- </div>
419
- <Inventory game={game} onEvent={handleInventoryEvent} />
420
  <SceneRenderer
421
  rendered={rendered}
422
  onEvent={handleSceneEvent}
 
400
  "flex flex-col w-full pt-4 space-y-3 text-gray-50 dark:text-gray-50",
401
  getGame(gameRef.current).className // apply the game theme
402
  ].join(" ")}>
403
+ <div className="flex flex-row">
404
+ <div className="text-xl px-2">{lastEvent}</div>
405
+ </div>
406
+ <Inventory game={game} onEvent={handleInventoryEvent} />
407
+ <div className="flex flex-row">
408
  <div className="text-xl mr-2">
409
  {rendered.segments.length
410
  ? <span>💡 Try to click on:</span>
 
417
  {i < (clickables.length - 1) ? <div>,</div> : null}
418
  </div>)}
419
  </div>
 
 
 
 
420
  <SceneRenderer
421
  rendered={rendered}
422
  onEvent={handleSceneEvent}