autoblogger 0.2.26 → 0.2.27
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.
- package/dist/ui.js +14 -1
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +14 -1
- package/dist/ui.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -14185,7 +14185,20 @@ function AutobloggerDashboard({
|
|
|
14185
14185
|
}) {
|
|
14186
14186
|
const resolvedChatApiPath = chatApiPath || `${apiBasePath}/ai/chat`;
|
|
14187
14187
|
const resolvedHistoryApiPath = historyApiPath || `${apiBasePath}/chat/history`;
|
|
14188
|
-
|
|
14188
|
+
(0, import_react35.useEffect)(() => {
|
|
14189
|
+
const viewportMeta = document.querySelector('meta[name="viewport"]');
|
|
14190
|
+
if (viewportMeta) {
|
|
14191
|
+
const originalContent = viewportMeta.getAttribute("content") || "";
|
|
14192
|
+
if (!originalContent.includes("user-scalable")) {
|
|
14193
|
+
const newContent = originalContent + ", user-scalable=no, maximum-scale=1";
|
|
14194
|
+
viewportMeta.setAttribute("content", newContent);
|
|
14195
|
+
return () => {
|
|
14196
|
+
viewportMeta.setAttribute("content", originalContent);
|
|
14197
|
+
};
|
|
14198
|
+
}
|
|
14199
|
+
}
|
|
14200
|
+
}, []);
|
|
14201
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ThemeProvider, { className: "h-dvh bg-background text-foreground flex flex-col overscroll-none touch-manipulation", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
14189
14202
|
ChatProvider,
|
|
14190
14203
|
{
|
|
14191
14204
|
apiBasePath,
|