We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a254c1e commit 82e1e57Copy full SHA for 82e1e57
packages/app/src/app/overmind/effects/chameleon.ts
@@ -26,11 +26,18 @@ export default {
26
/*
27
This method might be called at any point in time, with a user or not. We want to
28
make sure that we load the script on first call and then make sure it finishes loading
29
- if any new calls are made.
+ if any new calls are made during it loading
30
*/
31
loadTour(userId: string) {
32
if (!_script) {
33
- _script = loadScript();
+ _script = loadScript().then(() => {
34
+ const cmln = document.querySelector('#chmln-editor');
35
+
36
+ if (cmln) {
37
+ cmln.shadowRoot.childNodes[0].innerHTML +=
38
+ '#chmln-toggle-item { top: auto !important; bottom: 100px !important; }';
39
+ }
40
+ });
41
}
42
43
if (userId) {
0 commit comments