From f97fde05f67f1b3c10414ef414f656a0d4adf548 Mon Sep 17 00:00:00 2001
From: Midhun Suresh <midhunr@element.io>
Date: Fri, 11 Feb 2022 07:46:11 +0000
Subject: [PATCH] Fix UI not sticking in place

---
 index.html           | 1 +
 src/parent-style.css | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index b908951..83334ac 100644
--- a/index.html
+++ b/index.html
@@ -11,6 +11,7 @@
             background-color: rgb(88, 88, 88);
             color: white;
             font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+            height: 500vh;
         }
         
         .container {
diff --git a/src/parent-style.css b/src/parent-style.css
index b61f7b1..8860da3 100644
--- a/src/parent-style.css
+++ b/src/parent-style.css
@@ -1,5 +1,5 @@
 .chatterbox-iframe {
-    position: absolute;
+    position: fixed;
     right: 10px;
     bottom: 50px;
     border: none;
@@ -19,7 +19,7 @@
 }
 
 .start {
-    position: absolute;
+    position: fixed;
     right: 10px;
     bottom: 10px;
 }
-- 
GitLab