fix: Embed Issues: Logo causing scroll, Logo text color, mobile view with layout configuration (#9826)

* Fixes scroll and logo text color

* Add a month_view scenario

* Fix false alarm in logs when namespace is empty string

* In mobile view, we only support mobile layout

* Check for embed mode
This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-06-28 15:45:39 +02:00
1 parent 723b754703
commit 15692374c6
4 files changed
+43 -6

No files matched your search

@@ -257,7 +257,7 @@ function getNamespace() {
return embedStore.namespace;
}
if (isBrowser) {
const namespace = window?.getEmbedNamespace?.() || null;
const namespace = window?.getEmbedNamespace?.() ?? null;
embedStore.namespace = namespace;
return namespace;
}