diff --git a/demo/main.js b/demo/main.js index 7ed3c133..a3eff591 100755 --- a/demo/main.js +++ b/demo/main.js @@ -2,7 +2,7 @@ const Gleap = window.Gleap; Gleap.setFrameUrl("http://0.0.0.0:3001"); Gleap.setApiUrl("http://0.0.0.0:9000"); -Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV"); +Gleap.initialize("DUPaIr7s689BBblcFI4pc5aBgYJTm7Sc"); //Gleap.setEnvironment("dev"); Gleap.attachCustomData({ @@ -31,15 +31,6 @@ Gleap.log("Test log err", "ERROR"); Gleap.trackEvent("Master Event"); -Gleap.identify("9292929292", { - name: "John Doe", - email: "johaaan@doe.com", - customData: { - yyy: "xxx", - penis: true - } -}); - // Register custom action. Gleap.registerCustomAction((customAction) => { console.log("Custom action called:"); diff --git a/src/UI.js b/src/UI.js index dff1b2b9..753baf80 100644 --- a/src/UI.js +++ b/src/UI.js @@ -80,7 +80,7 @@ export const injectStyledCSS = ( right: ${buttonX}px; bottom: ${69 + buttonY}px; width: calc(100% - 40px); - max-width: 420px; + max-width: 400px; position: fixed; z-index: ${zIndexBase + 31}; visibility: visible;