@fastr-pro/global-header 1.0.16 → 1.0.17

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/index.js CHANGED
@@ -3260,7 +3260,7 @@ var Vt = t(function({ app: e, type: t = "macro", config: n, currentApp: a = "der
3260
3260
  return /* @__PURE__ */ s("div", {
3261
3261
  "data-fastr-popup": "",
3262
3262
  "data-theme": l ? "dark" : "light",
3263
- className: "bg-popover text-popover-foreground border-border w-[960px] max-w-[calc(100vw-2rem)] rounded-xl border p-4 shadow-2xl transition-all overflow-hidden",
3263
+ className: "bg-popover text-popover-foreground border-border w-240 max-w-[calc(100vw-2rem)] rounded-xl border p-4 shadow-2xl transition-all overflow-hidden",
3264
3264
  onMouseDown: (e) => e.stopPropagation(),
3265
3265
  children: /* @__PURE__ */ c("div", {
3266
3266
  className: "grid grid-cols-1 gap-4 lg:grid-cols-[220px_190px_1fr]",
@@ -3642,7 +3642,7 @@ function Gt({ config: e, authApiUrl: t, authRedirectUrl: l, redirectOnInvalidSes
3642
3642
  try {
3643
3643
  localStorage.removeItem("user"), localStorage.removeItem("token"), localStorage.removeItem("auth_token"), sessionStorage.removeItem("user"), sessionStorage.removeItem("token"), sessionStorage.removeItem("auth_token");
3644
3644
  } catch {}
3645
- let e = window.location.href, t = encodeURIComponent(e), n = `${L}/logout?app_id=${encodeURIComponent(F || "")}&p_screen=${t}&redirect=${t}`;
3645
+ let e = window.location.href, t = encodeURIComponent(e), n = `${L}/login?app_id=${encodeURIComponent(F || "")}&p_screen=${t}&redirect=${t}`;
3646
3646
  window.location.assign(n);
3647
3647
  }
3648
3648
  }, Ge = i(() => {