This commit is contained in:
Timothy Jaeryang Baek
2025-10-05 00:25:40 -05:00
parent 6050c86ab6
commit 96ecb47bc7
5 changed files with 327 additions and 235 deletions

View File

@@ -128,7 +128,10 @@
</div>
</nav>
<div class=" pb-1 px-[18px] flex-1 max-h-full overflow-y-auto" id="workspace-container">
<div
class=" pb-1 px-3 md:px-[18px] flex-1 max-h-full overflow-y-auto"
id="workspace-container"
>
<slot />
</div>
</div>

View File

@@ -71,13 +71,17 @@
return;
}
let data = JSON.parse(event.data);
try {
let data = JSON.parse(event.data);
if (data?.info) {
data = data.info;
if (data?.info) {
data = data.info;
}
model = data;
} catch (e) {
console.error('Failed to parse message data:', e);
}
model = data;
});
if (window.opener ?? false) {