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.mjs
CHANGED
|
@@ -14129,7 +14129,20 @@ function AutobloggerDashboard({
|
|
|
14129
14129
|
}) {
|
|
14130
14130
|
const resolvedChatApiPath = chatApiPath || `${apiBasePath}/ai/chat`;
|
|
14131
14131
|
const resolvedHistoryApiPath = historyApiPath || `${apiBasePath}/chat/history`;
|
|
14132
|
-
|
|
14132
|
+
useEffect26(() => {
|
|
14133
|
+
const viewportMeta = document.querySelector('meta[name="viewport"]');
|
|
14134
|
+
if (viewportMeta) {
|
|
14135
|
+
const originalContent = viewportMeta.getAttribute("content") || "";
|
|
14136
|
+
if (!originalContent.includes("user-scalable")) {
|
|
14137
|
+
const newContent = originalContent + ", user-scalable=no, maximum-scale=1";
|
|
14138
|
+
viewportMeta.setAttribute("content", newContent);
|
|
14139
|
+
return () => {
|
|
14140
|
+
viewportMeta.setAttribute("content", originalContent);
|
|
14141
|
+
};
|
|
14142
|
+
}
|
|
14143
|
+
}
|
|
14144
|
+
}, []);
|
|
14145
|
+
return /* @__PURE__ */ jsx44(ThemeProvider, { className: "h-dvh bg-background text-foreground flex flex-col overscroll-none touch-manipulation", children: /* @__PURE__ */ jsx44(
|
|
14133
14146
|
ChatProvider,
|
|
14134
14147
|
{
|
|
14135
14148
|
apiBasePath,
|