From f1a93691739e4b222909793793f33f4205cdac33 Mon Sep 17 00:00:00 2001 From: anirban185 Date: Sat, 18 Jul 2026 07:41:26 +0530 Subject: [PATCH 1/2] Add view code link --- src/pages/gallery/play/[id].astro | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/pages/gallery/play/[id].astro b/src/pages/gallery/play/[id].astro index 30c2fe829b..1f3b085b86 100644 --- a/src/pages/gallery/play/[id].astro +++ b/src/pages/gallery/play/[id].astro @@ -9,7 +9,7 @@ import DesktopPlayer from '../../../components/big-interactive-pages/desktop-pla import fs from 'fs' import path from 'path' import Button from '../../../components/design-system/button' -import { IoShuffle } from 'react-icons/io5' +import { IoShuffle, IoCode } from 'react-icons/io5' interface Props { game: GameMetadata; @@ -190,11 +190,16 @@ const props: Props = { - - - + + {type !== 'document' && ( + + - + )} + + + +
@@ -223,4 +228,4 @@ const props: Props = {
- \ No newline at end of file + From 9029d612f98082370bd016298fa537e84655525b Mon Sep 17 00:00:00 2001 From: anirban185 Date: Sat, 18 Jul 2026 07:47:27 +0530 Subject: [PATCH 2/2] Fix player overflow --- src/pages/gallery/play/[id].astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/gallery/play/[id].astro b/src/pages/gallery/play/[id].astro index 1f3b085b86..4577168871 100644 --- a/src/pages/gallery/play/[id].astro +++ b/src/pages/gallery/play/[id].astro @@ -160,9 +160,9 @@ const props: Props = { display: flex; flex-direction: column; width: 100%; - height: 800px; + min-height: 0; position: relative; - overflow: hidden; + overflow: auto; } :global(.rootContainer) {